Skip to content

Commit

Permalink
bpo-31715 Add mimetype for extension .mjs (python#3908)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeck authored and asvetlov committed Oct 8, 2018
1 parent 5eea0ad commit 0854b92
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 @@ -448,6 +448,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 0854b92

Please sign in to comment.