commit | 3086ab2996403fbb4cf6525986e00e4a521ada1e | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Wed Jul 31 23:40:46 2013 +0400 |
committer | Valentin Bartenev <vbart@nginx.com> | Wed Jul 31 23:40:46 2013 +0400 |
tree | b89fbb5c1c41b3627bf23acf499a16d2af48d803 | |
parent | 986d3a870dff5b07d5a3606efeea939b8ebfed2f [diff] |
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.