http.server.SimpleHTTPRequestHandler.extensions_map

extensions_map

A dictionary mapping suffixes into MIME types. The default is signified by an empty string, and is considered to be application/octet-stream. The mapping is used case-insensitively, and so should contain only lower-cased keys.

doc_python
2016-10-07 17:34:18
Comments
Leave a Comment

Please login to continue.