[Python-checkins] cpython (merge 3.5 -> default): Issue #13952: Add .csv to mimetypes.types_map

berker.peksag python-checkins at python.org
Sat Apr 9 00:52:26 EDT 2016


https://hg.python.org/cpython/rev/5143f86ffe57
changeset: 100880:5143f86ffe57
parent: 100878:b72f2d699563
parent: 100879:711672506b40
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Apr 09 07:53:00 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
@@ -416,6 +416,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
@@ -237,6 +237,8 @@
 Library
 -------
 
+- Issue #13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
+
 - Issue #26587: the site module now allows .pth files to specify files to be
 added to sys.path (e.g. zip files).
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

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