Home | Trees | Indices | Help |
|
---|
|
This is a simple state pattern implementing the request flow.
Author: André Malo
|
|||
RequestTimeout Request timed out |
|||
ExpectationFailed Expectation failed |
|||
UnsupportedHTTPVersion HTTP Version not supported |
|||
UnImplemented A feature is unimplemented |
|||
InvalidRequestLine Request line is invalid |
|||
InvalidContentLength The supplied content length is invalid |
|||
InvalidTransferEncoding An invalid transfer encoding was supplied |
|||
MissingHostHeader Host header is mandatory with HTTP/1.1 |
|||
StateError HTTP request state error |
|||
BaseState Base state class |
|||
RequestInitialState Initial state of a request, for example on a fresh connection. |
|||
RequestLineReadyState The headers can be read now |
|||
RequestHeadersReadyState The body can be read now and/or the response can be started |
|||
ResponseContinueWaitState We're waiting for either 100 continue emission of send_status |
|||
ResponseStatusWaitState Waiting for status line |
|||
ResponseHeadersWaitState We're waiting for headers to be set and sent |
|||
ResponseBodyWaitState We're waiting for someone to send the response body |
|||
ResponseDoneState Nothing can be done here anymore |
|||
HTTPRequest HTTP Request abstraction |
|
|||
str |
CRLF =
ASCII CRLF sequence (rn) |
||
__package__ =
|
Home | Trees | Indices | Help |
|
---|