coreHTTP v3.0.0
HTTP/1.1 Client Library
Enumerated Types

Enumerated types of the HTTP Client library. More...

Enumerations

enum  HTTPStatus_t {
  HTTPSuccess , HTTPInvalidParameter , HTTPNetworkError , HTTPPartialResponse ,
  HTTPNoResponse , HTTPInsufficientMemory , HTTPSecurityAlertExtraneousResponseData , HTTPSecurityAlertInvalidChunkHeader ,
  HTTPSecurityAlertInvalidProtocolVersion , HTTPSecurityAlertInvalidStatusCode , HTTPSecurityAlertInvalidCharacter , HTTPSecurityAlertInvalidContentLength ,
  HTTPParserInternalError , HTTPHeaderNotFound , HTTPInvalidResponse
}
 The HTTP Client library return status. More...
 

Detailed Description

Enumerated types of the HTTP Client library.

Enumeration Type Documentation

◆ HTTPStatus_t

The HTTP Client library return status.

Enumerator
HTTPSuccess 

The HTTP Client library function completed successfully.

Functions that may return this value:

HTTPInvalidParameter 

The HTTP Client library function input an invalid parameter.

Functions that may return this value:

HTTPNetworkError 

A network error was returned from the transport interface.

Functions that may return this value:

HTTPPartialResponse 

Part of the HTTP response was received from the network.

Functions that may return this value:

HTTPNoResponse 

No HTTP response was received from the network.

This can occur only if there was no data received from the transport interface.

Functions that may return this value:

HTTPInsufficientMemory 

The application buffer was not large enough for the HTTP request headers or the HTTP response message.

Functions that may return this value:

HTTPSecurityAlertExtraneousResponseData 

A response contained the "Connection: close" header, but there was more data at the end of the complete message.

Functions that may return this value:

HTTPSecurityAlertInvalidChunkHeader 

The server sent a chunk header containing an invalid character.

Functions that may return this value:

HTTPSecurityAlertInvalidProtocolVersion 

The server sent a response with an invalid character in the HTTP protocol version.

Functions that may return this value:

HTTPSecurityAlertInvalidStatusCode 

The server sent a response with an invalid character in the HTTP status-code or the HTTP status code is out of range.

Functions that may return this value:

HTTPSecurityAlertInvalidCharacter 

An invalid character was found in the HTTP response message or in the HTTP request header.

Functions that may return this value:

HTTPSecurityAlertInvalidContentLength 

The response contains either an invalid character in the Content-Length header or a Content-Length header when it was not expected to be present.

Functions that may return this value:

HTTPParserInternalError 

An error occurred in the third-party parsing library.

Functions that may return this value:

HTTPHeaderNotFound 

The requested header field was not found in the response buffer.

Functions that may return this value:

HTTPInvalidResponse 

The HTTP response, provided for parsing, is either corrupt or incomplete.

Functions that may return this value: