dodo
0.0.1
A C++ library to create containerized Linux services
|
Go to the documentation of this file.
35 namespace network::protocol::http {
39 case peOk :
return "Ok";
56 default :
return common::Puts() <<
"unhandled error " << error;
@ peExpectingUnsignedInt
An unsigned int was expected.
@ peExpectingHeaderColon
A header field name was read, but no colon found after it.
static std::string getParseResultAsString(ParseError error)
Return the string description of a ParseError.
@ peIncomplete
Not an error, but more data is expected to complete.
@ peUnFinishedToken
A token is being parsed but is ending erroneously.
@ peInvalidHeaderListEnd
A header list is not ending properly.
@ peSystemError
The parse failed due to system error SocketReadBuffer::getLastError()
ParseError
Parse results returned by the parse functions.
@ peInvalidChunkHex
The hex chunk size is invalid.
A C++ platform interface to lean Linux services tailored for containerized deployment.
@ peInvalidRequestLine
The request line is invalid.
@ peInvalidTransferEncoding
The specified transfer-encoding header is invalid.
@ peUnexpectedBody
A message body is present but should not be there.
@ peInvalidLastChunk
The last chunk does not have size 0.
@ peInvalidHeaderFieldValue
A header field value was being read, but it is invalid.
@ peInvalidMethod
An invalid method was specified in the request line.
Helper class to write strings in stream format, eg.
@ peExpectCRLF
A CR was not followed by an LF.
@ peInvalidContentLength
The content length does not match the message body size.
@ peInvalidHTTPVersion
An invalid HTTP version was specified in the request line.