Browse Source

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

pull/9764/head
Bradley Meck 7 years ago
committed by Andrew Svetlov
parent
commit
0854b92cd2
  1. 1
      Lib/mimetypes.py
  2. 1
      Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst

1
Lib/mimetypes.py

@ -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',

1
Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst

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