coreHTTP v3.1.0
HTTP/1.1 Client Library
 
Loading...
Searching...
No Matches
HTTPResponse_t Flags

Flags for HTTPResponse_t.respOptionFlags. These flags control the behavior of response parsing. More...

Macros

#define HTTP_RESPONSE_DO_NOT_PARSE_BODY_FLAG   0x1U
 Set this flag to indicate that the response body should not be parsed.
 

Detailed Description

Flags for HTTPResponse_t.respOptionFlags. These flags control the behavior of response parsing.

Flags should be bitwise-ORed with each other to change the behavior of HTTPClient_ReceiveAndParseHttpResponse and HTTPClient_Send.

Macro Definition Documentation

◆ HTTP_RESPONSE_DO_NOT_PARSE_BODY_FLAG

#define HTTP_RESPONSE_DO_NOT_PARSE_BODY_FLAG   0x1U

Set this flag to indicate that the response body should not be parsed.

Setting this will cause parser to stop after parsing the headers. Portion of the raw body may be available in HTTPResponse_t.pBody and HTTPResponse_t.bodyLen.

This flag is valid only for HTTPResponse_t.respOptionFlags.