Http module

Parser_State

enumSource

Where a Parser is in a message. It is bookkeeping for the parser itself; callers watch the events parse returns instead.

Members

START
reading the start line and the headers
BODY_NONE
the head is out and there is no body: END is next
BODY_LENGTH
BODY_CLOSE
CHUNK_SIZE
CHUNK_EXT
CHUNK_SIZE_LF
CHUNK_DATA
CHUNK_DATA_CR
CHUNK_DATA_LF
TRAILERS
DONE
the message ended the connection (Connection: close...): nothing may follow
SWITCHED
FAILED

See also