Issue #19377: Add .svg to mimetypes.types_map

This is a backport of caf89a6a17a7.
This commit is contained in:
Berker Peksag 2016-04-09 08:17:53 +03:00
parent 81f8d5771b
commit 7784888cce
2 changed files with 4 additions and 0 deletions

View File

@ -382,6 +382,7 @@ def _default_mime_types():
global common_types
suffix_map = {
'.svgz': '.svg.gz',
'.tgz': '.tar.gz',
'.taz': '.tar.gz',
'.tz': '.tar.gz',
@ -500,6 +501,7 @@ def _default_mime_types():
'.src' : 'application/x-wais-source',
'.sv4cpio': 'application/x-sv4cpio',
'.sv4crc' : 'application/x-sv4crc',
'.svg' : 'image/svg+xml',
'.swf' : 'application/x-shockwave-flash',
'.t' : 'application/x-troff',
'.tar' : 'application/x-tar',

View File

@ -65,6 +65,8 @@ Core and Builtins
Library
-------
- Issue #19377: Add .svg to mimetypes.types_map.
- Issue #13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
- Issue #16329: Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'.