Home
last modified time | relevance | path

Searched refs:static_detail (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http1.c41 struct http_resource_detail_static *static_detail, in handle_http1_static_resource() argument
59 if (static_detail->common.bitmask_of_supported_http_methods & BIT(HTTP_GET)) { in handle_http1_static_resource()
60 data = static_detail->static_data; in handle_http1_static_resource()
61 len = static_detail->static_data_len; in handle_http1_static_resource()
63 if (static_detail->common.content_encoding != NULL && in handle_http1_static_resource()
64 static_detail->common.content_encoding[0] != '\0') { in handle_http1_static_resource()
68 static_detail->common.content_type == NULL ? in handle_http1_static_resource()
69 "text/html" : static_detail->common.content_type, in handle_http1_static_resource()
70 len, static_detail->common.content_encoding); in handle_http1_static_resource()
75 static_detail->common.content_type == NULL ? in handle_http1_static_resource()
[all …]
Dhttp_server_http2.c355 struct http_resource_detail_static *static_detail, in handle_http2_static_resource() argument
362 if (!(static_detail->common.bitmask_of_supported_http_methods & BIT(HTTP_GET))) { in handle_http2_static_resource()
370 content_200 = static_detail->static_data; in handle_http2_static_resource()
371 content_len = static_detail->static_data_len; in handle_http2_static_resource()
374 &static_detail->common, 0, NULL, 0); in handle_http2_static_resource()