mongoose.c: using application/javascript for .js

As of http://www.rfc-editor.org/rfc/rfc4329.txt, the preferred MIME type
for JavaScript is application/javascript.
This commit is contained in:
Sebastian Godelet committed 2014-12-21 22:16:05 +08:00
1 parent 31178f4d48
commit 478ca05e7a
1 file changed
+1 -1
+1 -1
View File
@@ -1482,7 +1482,7 @@ static const struct {
{".shtm", 5, "text/html"},
{".shtml", 6, "text/html"},
{".css", 4, "text/css"},
{".js", 3, "application/x-javascript"},
{".js", 3, "application/javascript"},
{".ico", 4, "image/x-icon"},
{".gif", 4, "image/gif"},
{".jpg", 4, "image/jpeg"},