Part of twisted.web2.http_headers View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | _setRawHeaders | Undocumented |
Method | _toParsed | Undocumented |
Method | _toRaw | Undocumented |
Method | hasHeader | Does a header with the given name exist? |
Method | getRawHeaders | Returns a list of headers matching the given name as the raw string given. |
Method | getHeader | Ret9urns the parsed representation of the given header. |
Method | setRawHeaders | Sets the raw representation of the given header. |
Method | setHeader | Sets the parsed representation of the given header. |
Method | addRawHeader | Add a raw value to a header that may or may not already exist. |
Method | removeHeader | Removes the header named. |
Method | __repr__ | Undocumented |
Method | canonicalNameCaps | Return the name with the canonical capitalization, if known, |
Method | getAllRawHeaders | Return an iterator of key,value pairs of all headers |
Method | makeImmutable | Make this header set immutable. All mutating operations will |
Method | _mutateRaise | Undocumented |
Ret9urns the parsed representation of the given header. The exact form of the return value depends on the header in question.
If no parser for the header exists, raise ValueError.
If the header doesn't exist, return default (or None if not specified)