diff options
author | Henk-Jaap Wagenaar <wagenaarhenkjaap@gmail.com> | 2017-11-17 10:10:19 +0000 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2017-11-17 12:10:19 +0200 |
commit | f02f5e5c3eb815fff9578dc58de60374c6baaa3d (patch) | |
tree | 0235563275648e08b4c3bb6ca959e2d05bdc4391 /Lib/mimetypes.py | |
parent | f2ddc6ac9370a1805ab1b751437df8f96f38bfcf (diff) | |
download | cpython-git-f02f5e5c3eb815fff9578dc58de60374c6baaa3d.tar.gz |
bpo-31867: Remove duplicates in default mimetypes. (#4388)
Diffstat (limited to 'Lib/mimetypes.py')
-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 5919b45a9b..44112027cb 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', |