mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
bpo-32021: Support brotli .br encoding in mimetypes (#12200)
Add support for brotli encoding in the encoding_map.
This commit is contained in:
parent
61b14151cc
commit
b2b4a51f74
2 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Include brotli .br encoding in mimetypes encodings_map
|
Loading…
Add table
Add a link
Reference in a new issue