mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-18 23:53:15 +08: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:
parent
6c77208236
commit
bc4e47630a
@ -1342,7 +1342,7 @@ static const struct {
|
||||
{".ogg", 4, "application/ogg"},
|
||||
{".ram", 4, "audio/x-pn-realaudio"},
|
||||
{".xml", 4, "text/xml"},
|
||||
{".json", 5, "text/json"},
|
||||
{".json", 5, "application/json"},
|
||||
{".xslt", 5, "application/xml"},
|
||||
{".xsl", 4, "application/xml"},
|
||||
{".ra", 3, "audio/x-pn-realaudio"},
|
||||
|
Loading…
Reference in New Issue
Block a user