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

Skip to content

Commit a2d7cf0

Browse files
committed
Issue #13952: Add .csv to mimetypes.types_map
Patch by Geoff Wilson.
1 parent 0945558 commit a2d7cf0

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
@@ -99,6 +99,8 @@ Core and Builtins
9999
Library
100100
-------
101101

102+
- Issue #13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
103+
102104
- Issue #26709: Fixed Y2038 problem in loading binary PLists.
103105

104106
- Issue #23735: Handle terminal resizing with Readline 6.3+ by installing our

0 commit comments

Comments
 (0)