Part of twisted.web View Source
Class | Headers | This class stores the HTTP headers as both a parsed representation and the raw string representation. It converts between the two on demand. |
Function | _dashCapitalize | Return a string which is capitalized using '-' as a word separator. |
Class | _DictHeaders | A dict -like wrapper around Headers to
provide backwards compatibility for Request.received_headers
and Request.headers which used to be plain dict
instances.
|
Parameters | name | The name of the header to capitalize. (type: str ) |
Returns | The given header capitalized using '-' as a word separator. (type: str ) |