Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[2.7] bpo-31715 Add mimetype for extension .mjs (GH-3908)
(cherry picked from 0854b92)
  • Loading branch information
bmeck authored and MylesBorins committed Dec 6, 2018
commit 25fed0fed21c85ac750169ae60f3e80f0aa6a3d7
1 change: 1 addition & 0 deletions Lib/mimetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ def _default_mime_types():
'.mht' : 'message/rfc822',
'.mhtml' : 'message/rfc822',
'.mif' : 'application/x-mif',
'.mjs' : 'application/javascript',
'.mov' : 'video/quicktime',
'.movie' : 'video/x-sgi-movie',
'.mp2' : 'audio/mpeg',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Associate ``.mjs`` file extension with ``application/javascript`` MIME Type.