From 25fed0fed21c85ac750169ae60f3e80f0aa6a3d7 Mon Sep 17 00:00:00 2001 From: Bradley Meck Date: Mon, 8 Oct 2018 15:04:55 -0500 Subject: [PATCH] [2.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (cherry picked from 0854b92cd2) --- Lib/mimetypes.py | 1 + .../NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst | 1 + 2 files changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Library/2018-08-15-16-22-30.bpo-31715.Iw8jS8.rst diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index caecc11c37cb4c..afc053f135ddfb 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -451,6 +451,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 00000000000000..eacba28f9fd987 --- /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. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy