diff options
author | Henk-Jaap Wagenaar <wagenaarhenkjaap@gmail.com> | 2017-11-17 10:10:19 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2017-11-17 10:10:19 (GMT) |
commit | f02f5e5c3eb815fff9578dc58de60374c6baaa3d (patch) | |
tree | 0235563275648e08b4c3bb6ca959e2d05bdc4391 | |
parent | f2ddc6ac9370a1805ab1b751437df8f96f38bfcf (diff) | |
download | cpython-f02f5e5c3eb815fff9578dc58de60374c6baaa3d.zip cpython-f02f5e5c3eb815fff9578dc58de60374c6baaa3d.tar.gz cpython-f02f5e5c3eb815fff9578dc58de60374c6baaa3d.tar.bz2 |
bpo-31867: Remove duplicates in default mimetypes. (#4388)
-rw-r--r-- | Lib/mimetypes.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 5919b45..4411202 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -412,8 +412,6 @@ def _default_mime_types(): '.bin' : 'application/octet-stream', '.bmp' : 'image/x-ms-bmp', '.c' : 'text/plain', - # Duplicates :( - '.cdf' : 'application/x-cdf', '.cdf' : 'application/x-netcdf', '.cpio' : 'application/x-cpio', '.csh' : 'application/x-csh', @@ -522,8 +520,6 @@ def _default_mime_types(): '.wsdl' : 'application/xml', '.xbm' : 'image/x-xbitmap', '.xlb' : 'application/vnd.ms-excel', - # Duplicates :( - '.xls' : 'application/excel', '.xls' : 'application/vnd.ms-excel', '.xml' : 'text/xml', '.xpdl' : 'application/xml', |