Issue #19377: Add .svg to mimetypes.types_map
This is a backport of caf89a6a17a7.
This commit is contained in:
parent
81f8d5771b
commit
7784888cce
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue