]> granicus.if.org Git - python/commitdiff
#5301: re-add image/vnd.microsoft.icon per discussion
authorR David Murray <rdmurray@bitdance.com>
Tue, 27 Mar 2012 01:06:04 +0000 (21:06 -0400)
committerR David Murray <rdmurray@bitdance.com>
Tue, 27 Mar 2012 01:06:04 +0000 (21:06 -0400)
We concluded that adding registered mimetypes present in most systems' mime
databases can be considered a bug fix.

Lib/mimetypes.py

index 4c054c961cd71550d8f299b9a01b806e8e4e434c..8347786440064e939826ed38cae72bb78f37ecdf 100644 (file)
@@ -432,6 +432,7 @@ def _default_mime_types():
         '.hdf'    : 'application/x-hdf',
         '.htm'    : 'text/html',
         '.html'   : 'text/html',
+        '.ico'    : 'image/vnd.microsoft.icon',
         '.ief'    : 'image/ief',
         '.jpe'    : 'image/jpeg',
         '.jpeg'   : 'image/jpeg',