mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Add bz2 to content encodings.
This commit is contained in:
parent
2dd7d179de
commit
0c1f6fcaac
1 changed files with 2 additions and 0 deletions
|
@ -329,11 +329,13 @@ def _default_mime_types():
|
|||
'.tgz': '.tar.gz',
|
||||
'.taz': '.tar.gz',
|
||||
'.tz': '.tar.gz',
|
||||
'.tbz2': '.tar.bz2',
|
||||
}
|
||||
|
||||
encodings_map = {
|
||||
'.gz': 'gzip',
|
||||
'.Z': 'compress',
|
||||
'.bz2': 'bzip2',
|
||||
}
|
||||
|
||||
# Before adding new types, make sure they are either registered with IANA,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue