[Python-checkins] cpython (3.5): 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/711672506b40
changeset: 100879:711672506b40
branch: 3.5
parent: 100876:09dc97edf454
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Apr 09 07:52:05 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
@@ -99,6 +99,8 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list