From: Berker Peksag Date: Sat, 9 Apr 2016 05:06:15 +0000 (+0300) Subject: Issue #13952: Add .csv to mimetypes.types_map X-Git-Tag: v2.7.12rc1~141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81f8d5771bcd84a20db772652c544f4ff848296a;p=thirdparty%2FPython%2Fcpython.git Issue #13952: Add .csv to mimetypes.types_map Patch by Geoff Wilson. --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index c0316a07a0f3..9f865df1eb1c 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -420,6 +420,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 894d6691ebe2..597eb2bc453e 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -65,6 +65,8 @@ Core and Builtins Library ------- +- Issue #13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson. + - Issue #16329: Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'. - Issue #23735: Handle terminal resizing with Readline 6.3+ by installing our