]> granicus.if.org Git - python/commitdiff
Issue #13952: Add .csv to mimetypes.types_map
authorBerker Peksag <berker.peksag@gmail.com>
Sat, 9 Apr 2016 04:52:05 +0000 (07:52 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 9 Apr 2016 04:52:05 +0000 (07:52 +0300)
Patch by Geoff Wilson.

Lib/mimetypes.py
Misc/NEWS

index d64726b80fbb54bee172a4dea8b24ae1e7b72bb4..f02d62d49fa1002df40f6aef7632130611edb929 100644 (file)
@@ -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',
index bd482851801370ab68b464c09eaa11034446754c..735cb8ac31084be08329821f7db7c718cfe2208b 100644 (file)
--- 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