mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#15199: Fix JavaScript's default MIME type to application/javascript
This commit is contained in:
parent
f6bd1b0e0d
commit
c6fdafcdf3
3 changed files with 5 additions and 1 deletions
|
@ -430,7 +430,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',
|
||||||
|
|
|
@ -480,6 +480,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
|
||||||
|
|
|
@ -107,6 +107,9 @@ Core and Builtins
|
||||||
Library
|
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 #13579: string.Formatter now understands the 'a' conversion specifier.
|
||||||
|
|
||||||
- Issue #15595: Fix subprocess.Popen(universal_newlines=True)
|
- Issue #15595: Fix subprocess.Popen(universal_newlines=True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue