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

This commit is contained in:
Petri Lehtinen 2012-08-20 21:05:56 +03:00
parent 07f6ea5506
commit 4efdc09a8d
3 changed files with 5 additions and 1 deletions

View file

@ -437,7 +437,7 @@ def _default_mime_types():
'.jpe' : 'image/jpeg', '.jpe' : 'image/jpeg',
'.jpeg' : 'image/jpeg', '.jpeg' : 'image/jpeg',
'.jpg' : 'image/jpeg', '.jpg' : 'image/jpeg',
'.js' : 'application/x-javascript', '.js' : 'application/javascript',
'.ksh' : 'text/plain', '.ksh' : 'text/plain',
'.latex' : 'application/x-latex', '.latex' : 'application/x-latex',
'.m1v' : 'video/mpeg', '.m1v' : 'video/mpeg',

View file

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

View file

@ -95,6 +95,9 @@ Core and Builtins
Library Library
------- -------
- Issue #15199: Fix JavaScript's default MIME type to application/javascript.
Patch by Bohuslav Kabrda.
- Issue #15477: In cmath and math modules, add workaround for platforms whose - Issue #15477: In cmath and math modules, add workaround for platforms whose
system-supplied log1p function doesn't respect signs of zeros. system-supplied log1p function doesn't respect signs of zeros.