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
0854b92c
Commit
0854b92c
authored
Oct 08, 2018
by
Bradley Meck
Committed by
Andrew Svetlov
Oct 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-31715 Add mimetype for extension .mjs (#3908)
parent
5eea0ad5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Lib/mimetypes.py
Lib/mimetypes.py
+1
-0
Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst
...S.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst
+1
-0
No files found.
Lib/mimetypes.py
View file @
0854b92c
...
@@ -448,6 +448,7 @@ def _default_mime_types():
...
@@ -448,6 +448,7 @@ def _default_mime_types():
'.mht'
:
'message/rfc822'
,
'.mht'
:
'message/rfc822'
,
'.mhtml'
:
'message/rfc822'
,
'.mhtml'
:
'message/rfc822'
,
'.mif'
:
'application/x-mif'
,
'.mif'
:
'application/x-mif'
,
'.mjs'
:
'application/javascript'
,
'.mov'
:
'video/quicktime'
,
'.mov'
:
'video/quicktime'
,
'.movie'
:
'video/x-sgi-movie'
,
'.movie'
:
'video/x-sgi-movie'
,
'.mp2'
:
'audio/mpeg'
,
'.mp2'
:
'audio/mpeg'
,
...
...
Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst
0 → 100644
View file @
0854b92c
Associate ``.mjs`` file extension with ``application/javascript`` MIME Type.
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