From: Berker Peksag Date: Sat, 9 Apr 2016 04:52:05 +0000 (+0300) Subject: Issue #13952: Add .csv to mimetypes.types_map X-Git-Tag: v3.6.0a1~252^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2d7cf087f5496dd86c99a9b64821bb35be26bba;p=python Issue #13952: Add .csv to mimetypes.types_map Patch by Geoff Wilson. --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index d64726b80f..f02d62d49f 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -416,6 +416,7 @@ def _default_mime_types(): '.cpio' : 'application/x-cpio', '.csh' : 'application/x-csh', '.css' : 'text/css', + '.csv' : 'text/csv', '.dll' : 'application/octet-stream', '.doc' : 'application/msword', '.dot' : 'application/msword', diff --git a/Misc/NEWS b/Misc/NEWS index bd48285180..735cb8ac31 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -99,6 +99,8 @@ Core and Builtins Library ------- +- Issue #13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson. + - Issue #26709: Fixed Y2038 problem in loading binary PLists. - Issue #23735: Handle terminal resizing with Readline 6.3+ by installing our