Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
df9c9450
Commit
df9c9450
authored
Aug 20, 2012
by
Petri Lehtinen
Browse files
Options
Browse Files
Download
Plain Diff
#15199: Fix JavaScript's default MIME type to application/javascript
parents
1ea50f56
c6fdafcd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
Lib/mimetypes.py
Lib/mimetypes.py
+1
-1
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/mimetypes.py
View file @
df9c9450
...
...
@@ -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'
,
...
...
Misc/ACKS
View file @
df9c9450
...
...
@@ -533,6 +533,7 @@ John Jorgensen
Sijin Joseph
Andreas Jung
Tattoo Mabonzo K.
Bohuslav Kabrda
Bob Kahn
Kurt B. Kaiser
Tamito Kajiyama
...
...
Misc/NEWS
View file @
df9c9450
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment