bpo-32021: Support brotli .br encoding in mimetypes (#12200) · python/cpython@b2b4a51 (original) (raw)
File tree
2 files changed
lines changed
- Misc/NEWS.d/next/Core and Builtins
2 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -401,6 +401,7 @@ def _default_mime_types(): | ||
401 | 401 | '.Z': 'compress', |
402 | 402 | '.bz2': 'bzip2', |
403 | 403 | '.xz': 'xz', |
404 | +'.br': 'br', | |
404 | 405 | } |
405 | 406 | |
406 | 407 | # Before adding new types, make sure they are either registered with IANA, |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 | +Include brotli .br encoding in mimetypes encodings_map |