mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-15 10:29:47 +00:00
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:
1 parent
31178f4d48
commit
478ca05e7a
1 file changed
+1
-1
+1
-1
@@ -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"},
|
||||
|
||||
Reference in new issue
Block a user