[Python-checkins] cpython (3.2): #15199: Fix JavaScript's default MIME type to application/javascript
petri.lehtinen
python-checkins at python.org
Mon Aug 20 20:35:55 CEST 2012
http://hg.python.org/cpython/rev/b64947b6f947
changeset: 78683:b64947b6f947
branch: 3.2
parent: 78679:80b15cf2611e
user: Petri Lehtinen <petri at digip.org>
date: Mon Aug 20 21:05:56 2012 +0300
summary:
#15199: Fix JavaScript's default MIME type to application/javascript
files:
Lib/mimetypes.py | 2 +-
Misc/ACKS | 1 +
Misc/NEWS | 3 +++
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -430,7 +430,7 @@
'.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',
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -480,6 +480,7 @@
Sijin Joseph
Andreas Jung
Tattoo Mabonzo K.
+Bohuslav Kabrda
Bob Kahn
Kurt B. Kaiser
Tamito Kajiyama
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -107,6 +107,9 @@
Library
-------
+- Issue #15199: Fix JavaScript's default MIME type to application/javascript.
+ Patch by Bohuslav Kabrda.
+
- Issue #13579: string.Formatter now understands the 'a' conversion specifier.
- Issue #15595: Fix subprocess.Popen(universal_newlines=True)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list