]> granicus.if.org Git - python/commitdiff
#5301: add image/vnd.microsoft.icon (.ico) MIME type
authorSandro Tosi <sandro.tosi@gmail.com>
Sat, 20 Aug 2011 22:15:56 +0000 (00:15 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sat, 20 Aug 2011 22:15:56 +0000 (00:15 +0200)
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',