summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/mimetypes.py1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-03-11-13-30-40.bpo-32021.dpbtkP.rst1
2 files changed, 2 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 9b42bf6..a09e618 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -401,6 +401,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,
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 0000000..a07f6d3
--- /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