diff options
author | Petri Lehtinen <petri@digip.org> | 2012-08-20 18:30:03 (GMT) |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2012-08-20 18:30:03 (GMT) |
commit | df9c945070c3b74438b1141d2fff911a83f6e8fe (patch) | |
tree | 300ac1b669dda65d720fdfb9db9e467dd0860965 /Lib | |
parent | 1ea50f56087cfeabfa47dbf4367d72f0420ff064 (diff) | |
parent | c6fdafcdf39ce01f7b3fa3eeb8bf297a2905d3b3 (diff) | |
download | cpython-df9c945070c3b74438b1141d2fff911a83f6e8fe.zip cpython-df9c945070c3b74438b1141d2fff911a83f6e8fe.tar.gz cpython-df9c945070c3b74438b1141d2fff911a83f6e8fe.tar.bz2 |
#15199: Fix JavaScript's default MIME type to application/javascript
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/mimetypes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index fa62326..3f0bd0e 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -429,7 +429,7 @@ def _default_mime_types(): '.jpe' : 'image/jpeg', '.jpeg' : 'image/jpeg', '.jpg' : 'image/jpeg', - '.js' : 'application/x-javascript', + '.js' : 'application/javascript', '.ksh' : 'text/plain', '.latex' : 'application/x-latex', '.m1v' : 'video/mpeg', |