[Python-checkins] cpython (2.7): #5301: re-add image/vnd.microsoft.icon per discussion

r.david.murray python-checkins at python.org
Tue Mar 27 03:07:52 CEST 2012


http://hg.python.org/cpython/rev/3e7f6f931e09
changeset:   75961:3e7f6f931e09
branch:      2.7
parent:      75950:03771ea22ead
user:        R David Murray <rdmurray at bitdance.com>
date:        Mon Mar 26 21:06:04 2012 -0400
summary:
  #5301: re-add image/vnd.microsoft.icon per discussion

We concluded that adding registered mimetypes present in most systems' mime
databases can be considered a bug fix.

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