| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
HTTPConnection
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| dict |
DROPPERS = List of status codes which drop the connection |
||
| dict |
KEEPERS = List of status codes which keep the connection without content length |
||
|
|||
| HTTPRequest |
_request The request instance |
||
| dict |
headers Header dictionary to add to the outgoing headers. |
||
| bool |
persist = FalseDoes the connection persist? This property may be queried on a higher level in orer to determine whether to close a connection or not. |
||
| wtf.stream.GenericStream |
reader = NoneReading stream for this connection |
||
| wtf.stream.GenericStream |
writer = NoneWriting stream for this connection |
||
|
|||
|
Inherited from |
|||
|
|||
|
Compute the connection persistance status This function "only" has side effects. It sets headers and persist according to request and response parameters. |
|
|
|||
DROPPERSList of status codes which drop the connection
|
|
|||
headersHeader dictionary to add to the outgoing headers. This MAY contain Connection and Transfer-Encoding headers.
|
| Home | Trees | Indices | Help |
|
|---|