[Python-checkins] r55290 - python/trunk/Lib/mimetypes.py
georg.brandl
python-checkins at python.org
Sun May 13 10:04:08 CEST 2007
Author: georg.brandl
Date: Sun May 13 10:04:07 2007
New Revision: 55290
Modified:
python/trunk/Lib/mimetypes.py
Log:
Add bz2 to content encodings.
Modified: python/trunk/Lib/mimetypes.py
==============================================================================
--- python/trunk/Lib/mimetypes.py (original)
+++ python/trunk/Lib/mimetypes.py Sun May 13 10:04:07 2007
@@ -329,11 +329,13 @@
'.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,
More information about the Python-checkins
mailing list