Commit 0c1f6fca authored by Georg Brandl's avatar Georg Brandl

Add bz2 to content encodings.

parent 2dd7d179
...@@ -329,11 +329,13 @@ def _default_mime_types(): ...@@ -329,11 +329,13 @@ def _default_mime_types():
'.tgz': '.tar.gz', '.tgz': '.tar.gz',
'.taz': '.tar.gz', '.taz': '.tar.gz',
'.tz': '.tar.gz', '.tz': '.tar.gz',
'.tbz2': '.tar.bz2',
} }
encodings_map = { encodings_map = {
'.gz': 'gzip', '.gz': 'gzip',
'.Z': 'compress', '.Z': 'compress',
'.bz2': 'bzip2',
} }
# Before adding new types, make sure they are either registered with IANA, # Before adding new types, make sure they are either registered with IANA,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment