#15199: Fix JavaScript's default MIME type to application/javascript

This commit is contained in:
Petri Lehtinen 2012-08-20 21:30:03 +03:00
commit df9c945070
3 changed files with 5 additions and 1 deletions

View file

@ -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',

View file

@ -533,6 +533,7 @@ John Jorgensen
Sijin Joseph
Andreas Jung
Tattoo Mabonzo K.
Bohuslav Kabrda
Bob Kahn
Kurt B. Kaiser
Tamito Kajiyama

View file

@ -22,6 +22,9 @@ Core and Builtins
Library
-------
- Issue #15199: Fix JavaScript's default MIME type to application/javascript.
Patch by Bohuslav Kabrda.
- Issue #12643: code.InteractiveConsole now respects sys.excepthook when
displaying exceptions (Patch by Aaron Iles)