mimetypes.MimeTypes.suffix_map

MimeTypes.suffix_map

Dictionary mapping suffixes to suffixes. This is used to allow recognition of encoded files for which the encoding and the type are indicated by the same extension. For example, the .tgz extension is mapped to .tar.gz to allow the encoding and type to be recognized separately. This is initially a copy of the global suffix_map defined in the module.

doc_python
2016-10-07 17:37:16
Comments
Leave a Comment

Please login to continue.