]> 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:16:18 +0000 (00:16 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sat, 20 Aug 2011 22:16:18 +0000 (00:16 +0200)
Lib/mimetypes.py

index 2ef71f948285302f47d7bde35b55927b6b84fe03..961e47fdf5e1dcf7081b87c9d9a903337046b854 100644 (file)
@@ -425,6 +425,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',