From 47db03637202b79c79bdf481e0e032bcf67ac5e5 Mon Sep 17 00:00:00 2001 From: Philip McMahon <13phil13@gmail.com> Date: Wed, 6 Mar 2019 15:20:12 +0000 Subject: [PATCH 1/2] Support brotli encoding type --- Lib/mimetypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 8861b75362dbd7..22b8bf298d0fad 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -393,6 +393,7 @@ def _default_mime_types(): '.Z': 'compress', '.bz2': 'bzip2', '.xz': 'xz', + '.br': 'br', } # Before adding new types, make sure they are either registered with IANA, From edb2a12dcb5dec4cb1fdfb9c5992b6978358077f Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" Date: Mon, 11 Mar 2019 13:30:41 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Core and Builtins/2019-03-11-13-30-40.bpo-32021.dpbtkP.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Core and Builtins/2019-03-11-13-30-40.bpo-32021.dpbtkP.rst diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-11-13-30-40.bpo-32021.dpbtkP.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-11-13-30-40.bpo-32021.dpbtkP.rst new file mode 100644 index 00000000000000..a07f6d3e85af50 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-11-13-30-40.bpo-32021.dpbtkP.rst @@ -0,0 +1 @@ +Include brotli .br encoding in mimetypes encodings_map \ No newline at end of file