comparison conf/mime.types @ 5311:ae3fd1ca62e0

MIME: use "application/javascript" for .js files. Though there are several MIME types commonly used for JavaScript nowadays, the most common being "text/javascript", "application/javascript", and currently used by nginx "application/x-javascript", RFC 4329 prefers "application/javascript". The "charset_types" directive's default value was adjusted accordingly.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 31 Jul 2013 23:40:46 +0400
parents 0688cf5d73ec
children aeabb6ae574d
comparison
equal deleted inserted replaced
5310:fa07bec738ac 5311:ae3fd1ca62e0
3 text/html html htm shtml; 3 text/html html htm shtml;
4 text/css css; 4 text/css css;
5 text/xml xml; 5 text/xml xml;
6 image/gif gif; 6 image/gif gif;
7 image/jpeg jpeg jpg; 7 image/jpeg jpeg jpg;
8 application/x-javascript js; 8 application/javascript js;
9 application/atom+xml atom; 9 application/atom+xml atom;
10 application/rss+xml rss; 10 application/rss+xml rss;
11 11
12 text/mathml mml; 12 text/mathml mml;
13 text/plain txt; 13 text/plain txt;