coreHTTP v3.0.0
HTTP/1.1 Client Library
Constants

Constants defined in the HTTP Client library. More...

Macros

#define HTTP_METHOD_GET   "GET"
 
#define HTTP_METHOD_PUT   "PUT"
 
#define HTTP_METHOD_POST   "POST"
 
#define HTTP_METHOD_HEAD   "HEAD"
 
#define HTTP_MAX_CONTENT_LENGTH_HEADER_LENGTH   sizeof( "Content-Length: 4294967295" ) - 1U
 The maximum Content-Length header field and value that could be written to the request header buffer.
 
#define HTTP_RANGE_REQUEST_END_OF_FILE   -1
 Flag that represents End of File byte in the range specification of a Range Request. This flag should be used ONLY for 2 kinds of range specifications when creating the Range Request header through the HTTPClient_AddRangeHeader function: More...
 

Detailed Description

Constants defined in the HTTP Client library.

Macro Definition Documentation

◆ HTTP_METHOD_GET

#define HTTP_METHOD_GET   "GET"

HTTP Method GET string.

◆ HTTP_METHOD_PUT

#define HTTP_METHOD_PUT   "PUT"

HTTP Method PUT string.

◆ HTTP_METHOD_POST

#define HTTP_METHOD_POST   "POST"

HTTP Method POST string.

◆ HTTP_METHOD_HEAD

#define HTTP_METHOD_HEAD   "HEAD"

HTTP Method HEAD string.

◆ HTTP_RANGE_REQUEST_END_OF_FILE

#define HTTP_RANGE_REQUEST_END_OF_FILE   -1

Flag that represents End of File byte in the range specification of a Range Request. This flag should be used ONLY for 2 kinds of range specifications when creating the Range Request header through the HTTPClient_AddRangeHeader function:

  • When the requested range is all bytes from the starting range byte to the end of file.
  • When the requested range is for the last N bytes of the file. In both cases, this value should be used for the "rangeEnd" parameter.