PyDocs

Nav

Internet Protocols and Support

SimpleHTTPRequestHandler.default_content_type

http.server

attribute of SimpleHTTPRequestHandler · Added in 3.15not WASI
Specifies the Content-Type header value sent when the MIME type cannot be guessed from the file extension of the requested URL. By default, it is set to 'application/octet-stream'.
0 Examples
No examples for http.server/SimpleHTTPRequestHandler.default_content_type.
See Also
No see-alsos for http.server/SimpleHTTPRequestHandler.default_content_type
0 Notes
No notes for SimpleHTTPRequestHandler.default_content_type