diff options
author | Myles Borins <myles.borins@gmail.com> | 2018-12-20 20:26:02 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2018-12-20 20:26:02 (GMT) |
commit | c7b7a43cd8964a90669bb37735cdafc5b0ec60cc (patch) | |
tree | 779fce6d7c4b75aa65c7855b2654ef45b9f301be | |
parent | aae2e85af772a409bf8904bddc17efe9bf809174 (diff) | |
download | cpython-c7b7a43cd8964a90669bb37735cdafc5b0ec60cc.zip cpython-c7b7a43cd8964a90669bb37735cdafc5b0ec60cc.tar.gz cpython-c7b7a43cd8964a90669bb37735cdafc5b0ec60cc.tar.bz2 |
[3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977)
(cherry picked from commit 0854b92cd2)
-rw-r--r-- | Lib/mimetypes.py | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index c86dd6d..1206d8e 100644 --- a/Lib/mimetypes.py +++ b/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', diff --git a/Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst b/Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst new file mode 100644 index 0000000..eacba28 --- /dev/null +++ b/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. |