mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-23 20:11:49 +00:00
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.
This commit is contained in:
1 parent
6c77208236
commit
bc4e47630a
1 file changed
+1
-1
+1
-1
@@ -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"},
|
||||||
|
|||||||
Reference in new issue
Block a user