Part of twisted.web.http_headers View Source View In Hierarchy
dict-like wrapper around Headers to 
provide backwards compatibility for Request.received_headers 
and Request.headers which used to be plain dict 
instances.| Method | __init__ | Undocumented | 
| Method | __getitem__ | Return the last value for header of key. | 
  
| Method | __setitem__ | Set the given header. | 
| Method | __delitem__ | Delete the given header. | 
| Method | keys | Return a list of all header names. | 
| Method | copy | Return a dict mapping each header name to the last 
corresponding header value. | 
  
| Method | setdefault | No summary | 
| Method | __contains__ | Return True if the named header is present, 
False otherwise. | 
  
| Method | __iter__ | Return an iterator of the lowercase name of each header present. | 
| Method | iteritems | Return an iterable of two-tuples of each lower-case header name and the last value for that header. | 
| Instance Variable | _headers | The real header storage object. (type: Headers) | 
  
dict mapping each header name to the last 
corresponding header value.value and 
return that instead.  Note that None is the default for 
value for backwards compatibility, but header values may only 
be of type str.