Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http2.c396 static int handle_http2_static_fs_resource(struct http_resource_detail_static_fs *static_fs_detail, in handle_http2_static_fs_resource() argument
406 static_fs_detail->common.bitmask_of_supported_http_methods, in handle_http2_static_fs_resource()
408 .path_len = static_fs_detail->common.path_len, in handle_http2_static_fs_resource()
409 .type = static_fs_detail->common.type, in handle_http2_static_fs_resource()
416 if (!(static_fs_detail->common.bitmask_of_supported_http_methods & BIT(HTTP_GET))) { in handle_http2_static_fs_resource()
428 snprintk(fname, sizeof(fname), "%s/index.html", static_fs_detail->fs_path); in handle_http2_static_fs_resource()
432 snprintk(fname, sizeof(fname), "%s%s", static_fs_detail->fs_path, in handle_http2_static_fs_resource()
Dhttp_server_http1.c386 int handle_http1_static_fs_resource(struct http_resource_detail_static_fs *static_fs_detail, in handle_http1_static_fs_resource() argument
408 if (!(static_fs_detail->common.bitmask_of_supported_http_methods & BIT(HTTP_GET))) { in handle_http1_static_fs_resource()
421 snprintk(fname, sizeof(fname), "%s/index.html", static_fs_detail->fs_path); in handle_http1_static_fs_resource()
425 snprintk(fname, sizeof(fname), "%s%s", static_fs_detail->fs_path, in handle_http1_static_fs_resource()