Skip to content

Commit

Permalink
[2.7] bpo-31715 Add mimetype for extension .mjs (pythonGH-3908)
Browse files Browse the repository at this point in the history
(cherry picked from 0854b92)
  • Loading branch information
bmeck authored and MylesBorins committed Dec 6, 2018
1 parent 358fc87 commit 25fed0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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.

0 comments on commit 25fed0f

Please sign in to comment.