Commit bc4e4763 authored by David M.'s avatar David M.

Set the correct json content-type

Chance text/json to application/json to comply with the RFC.

See http://www.ietf.org/rfc/rfc4627.txt for more information.
parent 6c772082
...@@ -1342,7 +1342,7 @@ static const struct { ...@@ -1342,7 +1342,7 @@ static const struct {
{".ogg", 4, "application/ogg"}, {".ogg", 4, "application/ogg"},
{".ram", 4, "audio/x-pn-realaudio"}, {".ram", 4, "audio/x-pn-realaudio"},
{".xml", 4, "text/xml"}, {".xml", 4, "text/xml"},
{".json", 5, "text/json"}, {".json", 5, "application/json"},
{".xslt", 5, "application/xml"}, {".xslt", 5, "application/xml"},
{".xsl", 4, "application/xml"}, {".xsl", 4, "application/xml"},
{".ra", 3, "audio/x-pn-realaudio"}, {".ra", 3, "audio/x-pn-realaudio"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment