Skip to content

Commit 0854b92

Browse files
bmeckasvetlov
authored andcommitted
bpo-31715 Add mimetype for extension .mjs (#3908)
1 parent 5eea0ad commit 0854b92

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/mimetypes.py

+1
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ def _default_mime_types():
448448
'.mht' : 'message/rfc822',
449449
'.mhtml' : 'message/rfc822',
450450
'.mif' : 'application/x-mif',
451+
'.mjs' : 'application/javascript',
451452
'.mov' : 'video/quicktime',
452453
'.movie' : 'video/x-sgi-movie',
453454
'.mp2' : 'audio/mpeg',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Associate ``.mjs`` file extension with ``application/javascript`` MIME Type.

0 commit comments

Comments
 (0)