summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-04-09 04:52:05 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-04-09 04:52:05 (GMT)
commita2d7cf087f5496dd86c99a9b64821bb35be26bba (patch)
tree2b96d3bfd7738ea56fd803b14dee95f6e22470e2
parent09455589c71e06fdc1f0b83711dbcd2ff08c6e20 (diff)
downloadcpython-a2d7cf087f5496dd86c99a9b64821bb35be26bba.zip
cpython-a2d7cf087f5496dd86c99a9b64821bb35be26bba.tar.gz
cpython-a2d7cf087f5496dd86c99a9b64821bb35be26bba.tar.bz2
Issue #13952: Add .csv to mimetypes.types_map
Patch by Geoff Wilson.
-rw-r--r--Lib/mimetypes.py1
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index d64726b..f02d62d 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 bd48285..735cb8a 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