bpo-31715 Add mimetype for extension .mjs (#3908)

This commit is contained in:
Bradley Meck 2018-10-08 15:04:55 -05:00 committed by Andrew Svetlov
parent 5eea0ad50c
commit 0854b92cd2
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.