Bases: exceptions.Exception
error raised when first line is invalid
Bases: exceptions.Exception
error raised on invalid header
Bases: exceptions.Exception
error raised when we parse an invalid chunk size
Bases: object
return last chunk of the parsed body
Receive the last chunk of the parsed bodyand store the data in a buffer rather than creating a new string.
Do we get upgrade header in the request. Useful for websockets
return True if all headers have been parsed.
return True if a chunk of body have been parsed
return True if the parsing start
return True if the parsing is done (we get EOF)
return True if Transfer-Encoding header value is chunked
return True if the connection should be kept alive