diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index d64726b80fb..f02d62d49fa 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 6fbbdb3ac37..da10aeb4445 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -237,6 +237,8 @@ Core and Builtins 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).