mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08: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
@ -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…
Reference in New Issue
Block a user