]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #13952: Add .csv to mimetypes.types_map
authorBerker Peksag <berker.peksag@gmail.com>
Sat, 9 Apr 2016 05:06:15 +0000 (08:06 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 9 Apr 2016 05:06:15 +0000 (08:06 +0300)
Patch by Geoff Wilson.

Lib/mimetypes.py
Misc/NEWS

index c0316a07a0f392b468f5f0c0243a1bcc428f39a8..9f865df1eb1c0afbc5799275825e7fdf9295c3cb 100644 (file)
@@ -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',
index 894d6691ebe28927163c96033cda439bed9f9756..597eb2bc453e3461c02163602cc024f7988a0d76 100644 (file)
--- 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