[Python-checkins] cpython (2.7): #5301: add image/vnd.microsoft.icon (.ico) MIME type

sandro.tosi python-checkins at python.org
Sun Aug 21 00:18:59 CEST 2011


http://hg.python.org/cpython/rev/4964215ddcba
changeset: 72008:4964215ddcba
branch: 2.7
parent: 71990:dd4f29e39756
user: Sandro Tosi <sandro.tosi at gmail.com>
date: Sun Aug 21 00:15:56 2011 +0200
summary:
 #5301: add image/vnd.microsoft.icon (.ico) MIME type
files:
 Lib/mimetypes.py | 1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -432,6 +432,7 @@
 '.hdf' : 'application/x-hdf',
 '.htm' : 'text/html',
 '.html' : 'text/html',
+ '.ico' : 'image/vnd.microsoft.icon',
 '.ief' : 'image/ief',
 '.jpe' : 'image/jpeg',
 '.jpeg' : 'image/jpeg',
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /