Specifies the Content-Type HTTP header of error responses sent to the client. The default value is 'text/html'.
http.server/BaseHTTPRequestHandler.error_content_type
BaseHTTPRequestHandler.error_content_type