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

georg.brandl python-checkins at python.org
Sun Sep 4 08:42:20 CEST 2011


http://hg.python.org/cpython/rev/cba2558b73ee
changeset:   72234:cba2558b73ee
branch:      3.2
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sun Aug 21 00:16:18 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
@@ -425,6 +425,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