t.w.http_headers : module documentation

Part of twisted.web View Source

An API for storing HTTP header names and values.
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.
def _dashCapitalize(name): (source)
Return a string which is capitalized using '-' as a word separator.
ParametersnameThe name of the header to capitalize. (type: str )
ReturnsThe given header capitalized using '-' as a word separator. (type: str )
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.