Trees | Indices | Help |
|
---|
|
Reads HTTP message from socket.
|
|||
|
|||
string |
|
||
|
|||
|
|||
|
|||
bool |
|
||
|
|||
Inherited from |
|
|||
START_LINE_LENGTH_MAX = None hash(x) |
|||
HEADER_LENGTH_MAX = None hash(x) |
|||
PS_START_LINE = "start-line"
|
|||
PS_HEADERS = "headers"
|
|||
PS_BODY = "entity-body"
|
|||
PS_COMPLETE = "complete"
|
|
|||
Inherited from |
|
Reads an HTTP message from a socket.
|
Main function for HTTP message state machine.
|
Limits the start line buffer size.
|
Limits the header buffer size.
|
Parses the start line of a message. Must be overridden by subclass.
|
Evaluate whether peer will close the connection.
|
Parses the headers. This function also adjusts internal variables based on header values. RFC2616, section 4.3: The presence of a message-body in a request is signaled by the inclusion of a Content-Length or Transfer-Encoding header field in the request's message-headers. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 22 11:13:19 2016 | http://epydoc.sourceforge.net |