[Python-checkins] cpython (2.7): Issue #13952: Add .csv to mimetypes.types_map

berker.peksag python-checkins at python.org
Sat Apr 9 01:06:17 EDT 2016


https://hg.python.org/cpython/rev/e704e0786332
changeset: 100884:e704e0786332
branch: 2.7
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Apr 09 08:06:15 2016 +0300
summary:
 Issue #13952: Add .csv to mimetypes.types_map
Patch by Geoff Wilson.
files:
 Lib/mimetypes.py | 1 +
 Misc/NEWS | 2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -420,6 +420,7 @@
 '.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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -65,6 +65,8 @@
 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
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /