[3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977)

(cherry picked from commit 0854b92cd2)
This commit is contained in:
Myles Borins 2018-12-20 15:26:02 -05:00 committed by Ned Deily
parent 4db9a3fffa
commit 25ee15a15c
2 changed files with 2 additions and 0 deletions

View File

@ -448,6 +448,7 @@ def _default_mime_types():
'.mht' : 'message/rfc822', '.mht' : 'message/rfc822',
'.mhtml' : 'message/rfc822', '.mhtml' : 'message/rfc822',
'.mif' : 'application/x-mif', '.mif' : 'application/x-mif',
'.mjs' : 'application/javascript',
'.mov' : 'video/quicktime', '.mov' : 'video/quicktime',
'.movie' : 'video/x-sgi-movie', '.movie' : 'video/x-sgi-movie',
'.mp2' : 'audio/mpeg', '.mp2' : 'audio/mpeg',

View File

@ -0,0 +1 @@
Associate ``.mjs`` file extension with ``application/javascript`` MIME Type.