#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',
'.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

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

View File

@ -95,6 +95,9 @@ Core and Builtins
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
system-supplied log1p function doesn't respect signs of zeros.