Commit df9c9450 authored by Petri Lehtinen's avatar Petri Lehtinen

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

parents 1ea50f56 c6fdafcd
...@@ -429,7 +429,7 @@ def _default_mime_types(): ...@@ -429,7 +429,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',
......
...@@ -533,6 +533,7 @@ John Jorgensen ...@@ -533,6 +533,7 @@ John 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
......
...@@ -22,6 +22,9 @@ Core and Builtins ...@@ -22,6 +22,9 @@ Core and Builtins
Library 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 - Issue #12643: code.InteractiveConsole now respects sys.excepthook when
displaying exceptions (Patch by Aaron Iles) displaying exceptions (Patch by Aaron Iles)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment