| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
BaseState
Base state class
Every state method raises a StateError in here. Override implemented function in derived classes.
|
|||
|
|||
|
|||
| tuple |
|
||
| dict |
|
||
| dict |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| bool |
response_started = NoneWas the response already started? |
||
| HTTPRequest |
_request The request instance |
||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
Return a stream for the request body. Chunking and Expect handling are done transparently.
|
|
Send the headers Actually the headers may be accumulated until finish_headers is called
|
Finish header sending, prepare the response for the body This function does not guarantee, that headers are actually sent. It might be implemented in a manner that headers are still being modified, when the first body chunk comes in (but they all must be flushed then). |
| Home | Trees | Indices | Help |
|
|---|