Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba22cf8

Browse files
committed
Issue #13952: Add .csv to mimetypes.types_map
Patch by Geoff Wilson.
2 parents fe21de9 + a2d7cf0 commit ba22cf8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ def _default_mime_types():
416416
'.cpio' : 'application/x-cpio',
417417
'.csh' : 'application/x-csh',
418418
'.css' : 'text/css',
419+
'.csv' : 'text/csv',
419420
'.dll' : 'application/octet-stream',
420421
'.doc' : 'application/msword',
421422
'.dot' : 'application/msword',

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ Core and Builtins
237237
Library
238238
-------
239239

240+
- Issue #13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
241+
240242
- Issue #26587: the site module now allows .pth files to specify files to be
241243
added to sys.path (e.g. zip files).
242244

0 commit comments

Comments
 (0)