Home
last modified time | relevance | path

Searched refs:header_count (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/include/zephyr/net/http/
Dserver.h191 size_t header_count; /**< Array length of HTTP request headers */ member
199 size_t header_count; /**< Length of headers array */ member
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http1.c120 const struct http_header *headers, size_t header_count, in http1_send_headers() argument
133 if (headers == NULL && header_count > 0) { in http1_send_headers()
149 for (size_t i = 0; i < header_count; i++) { in http1_send_headers()
218 if (client->http1_headers_sent && (rsp->header_count > 0 || rsp->status != 0)) { in http1_dynamic_response()
229 ret = http1_send_headers(client, rsp->status, rsp->headers, rsp->header_count, in http1_dynamic_response()
Dhttp_server_core.c819 (rsp->status == 0 && rsp->header_count == 0 && rsp->body_len == 0)) { in http_response_is_final()
828 if (rsp->status != 0 || rsp->header_count > 0 || rsp->body_len > 0) { in http_response_is_provided()
843 req_ctx->header_count = 0; in populate_request_ctx()
847 req_ctx->header_count = header_ctx->count; in populate_request_ctx()
Dhttp_server_http2.c505 if (client->current_stream->headers_sent && (rsp->header_count > 0 || rsp->status != 0)) { in http2_dynamic_response()
522 if (rsp->headers == NULL && rsp->header_count > 0) { in http2_dynamic_response()
534 rsp->headers, rsp->header_count); in http2_dynamic_response()
/Zephyr-latest/doc/connectivity/networking/api/
Dhttp_server.rst303 * The ``headers``, ``header_count`` and ``headers_status`` fields pass request
313 * The ``headers`` and ``header_count`` fields can be used for the application to
393 size_t header_count = client->header_capture_ctx.count;
396 LOG_INF("Captured %d headers with request", header_count);
398 for (uint32_t i = 0; i < header_count; i++) {
/Zephyr-latest/tests/net/lib/http_server/core/src/
Dmain.c328 if (request_ctx->header_count != 0) { in dynamic_request_headers_cb()
336 clone->count = request_ctx->header_count; in dynamic_request_headers_cb()
343 for (int i = 0; i < request_ctx->header_count; i++) { in dynamic_request_headers_cb()
451 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()
457 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()
465 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()
478 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()