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 byte string which is capitalized using '-' as a word separator.
Class _DictHeaders No summary
def _dashCapitalize(name): (source)
Return a byte string which is capitalized using '-' as a word separator.
ParametersnameThe name of the header to capitalize. (type: bytes)
ReturnsThe given header capitalized using '-' as a word separator. (type: bytes)
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.