From: Sandro Tosi Date: Sat, 20 Aug 2011 22:15:56 +0000 (+0200) Subject: #5301: add image/vnd.microsoft.icon (.ico) MIME type X-Git-Tag: v2.7.3rc1~497 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a75039ad884fd82ea62c5ad48ed5d43810a96e91;p=python #5301: add image/vnd.microsoft.icon (.ico) MIME type --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 4c054c961c..8347786440 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -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',