From 4334863b72533da486763c4896ac7b8d5aa73a3b Mon Sep 17 00:00:00 2001 From: Henk-Jaap Wagenaar Date: Mon, 13 Nov 2017 21:17:26 +0000 Subject: [PATCH] bpo-31867: Remove duplicates in default mimetypes. --- Lib/mimetypes.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 5919b45a9b4f5f..44112027cb9aae 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',