Skip to content

Commit

Permalink
[2.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10978)
Browse files Browse the repository at this point in the history
(cherry picked from 0854b92)
  • Loading branch information
MylesBorins authored and ned-deily committed Dec 20, 2018
1 parent f347c6e commit d9a2aca
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
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
@@ -0,0 +1 @@
Associate ``.mjs`` file extension with ``application/javascript`` MIME Type.

0 comments on commit d9a2aca

Please sign in to comment.