Home | Trees | Indices | Help |
|
---|
|
object --+ | Headers
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Set the value of a header. If any values for the header already exist in the list of headers, they are first removed. The comparison of header names is performed case insensitively. |
Add a header value. FIXME - document |
Get the first value of a named header. Returns |
Get all values of a named header. Returns the values in the order in which they were added. Returns an empty list if no values of the named header are present. |
Remove any occurrences of the named header. The comparison of header names is performed case insensitively. |
Get the list of headers. This returns a list of tuple pairs, (header, value), one for each header, in the order added. The strings in the tuples are byte strings, encoded appropriately for HTTP transmission. |
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 10 00:22:20 2009 | http://epydoc.sourceforge.net |