Lines Matching +full:header +full:- +full:payload
10 * SPDX-License-Identifier: Apache-2.0
116 * recv_buffer that contains header + body
119 * |←-------- body_frag_len ---------→|
120 * |←--------------------- data len --------------------→|
121 * ---------------------------------------------------------------
122 * ..header | header | body | body..
123 * ---------------------------------------------------------------
131 * |←------------------ body_frag_len ------------------→|
132 * |←--------------------- data len --------------------→|
133 * ---------------------------------------------------------------
134 * ..header/body | body | body..
135 * ---------------------------------------------------------------
141 * body_frag_len = data_len - (body_frag_start - recv_buf)
169 /** HTTP Content-Length field value. Will be set to zero
181 /** See https://tools.ietf.org/html/rfc7230#section-3.1.2 for more information.
182 * The status-code element is a 3-digit integer code
184 * The reason-phrase element exists for the sole
187 * SHOULD ignore the reason-phrase content.
195 * given. Otherwise, will be a 3-digit integer code if
200 uint8_t cl_present : 1; /**< Is Content-Length field present */
262 /** The HTTP header fields (application specific)
263 * The Content-Type may be specified here or in the next field.
264 * Depending on your application, the Content-Type may vary, however
265 * some header fields may remain constant through the application's
266 * life cycle. This is a NULL terminated list of header fields.
270 /** The value of the Content-Type header field, may be NULL */
279 /** User supplied callback function to call when payload
280 * needs to be sent. This can be NULL in which case the payload field
281 * in http_request is used. The idea of this payload callback is to
287 /** Payload, may be NULL */
288 const char *payload; member
290 /** Payload length is used to calculate Content-Length. Set to 0
298 * callback is to allow user to send more HTTP header data that is