Returns the character set from the MIME type
Returns the character set from the MIME type
For example, UTF-8
will be extracted from text/plain; charset=UTF-8
MIME type code.
Charset
if specified in the MIME type, else None
Sets the content type header for the HTTP Response
Sets the content type header for the HTTP Response
For example:
Content-Type: image/gif
HTTP response
MIME type
Sets the Date header in the HTTP response.
Sets the Date header in the HTTP response.
For example:
Date: Tue, 01 Mar 2011 22:44:26 GMT
HTTP response
Sets the connection header for the HTTP Response
Sets the connection header for the HTTP Response
According to HTTP 1.1 specifications: The Connection header field with a keep-alive keyword must be sent on all requests and responses that wish to continue the persistence.
For example:
Connection: keep-alive
HTTP response
Copy SPDY headers from request to response
Copy SPDY headers from request to response
HTTP request
HTTP response