Lines Matching +full:css +full:- +full:enabled

23 Certain resource types (for example dynamic resource) provide resource-specific
29 * Static resources - content defined compile-time, cannot be modified at runtime
32 * Dynamic resources - content provided at runtime by respective application
35 * Websocket resources - allowing to establish Websocket connections with the
39 resource types usage. See :zephyr:code-sample:`sockets-http-server` for more
48 First of all, the HTTP server has to be enabled in applications configuration file
51 .. code-block:: cfg
65 .. code-block:: c
66 :caption: ``sections-rom.ld``
75 .. code-block:: cmake
78 zephyr_linker_sources(SECTIONS sections-rom.ld)
98 .. code-block:: c
109 .. code-block:: c
142 .. code-block:: c
154 Static resource content is defined build-time and is immutable. The following
158 .. code-block:: c
181 .. code-block:: cmake
186 generate_inc_file_for_target(app ${source_file_index} ${gen_dir}/index.html.gz.inc --gzip)
193 Static filesystem resource content is defined build-time and is immutable. The following
196 .. code-block:: c
211 content-encoding to the HTTP header.
214 .html, .js, .css, .jpg, .png and .svg. More content types can be provided with the
218 .. code-block:: c
231 .. code-block:: c
239 enum http_method method = client->method;
250 processed += request_ctx->data_len;
253 http_method_str(method), request_ctx->data_len);
254 LOG_HEXDUMP_DBG(request_ctx->data, request_ctx->data_len, print_str);
262 response_ctx->body = request_ctx->data;
263 response_ctx->body_len = request_ctx->data_len;
264 response_ctx->final_chunk = (status == HTTP_SERVER_DATA_FINAL);
305 :kconfig:option:`CONFIG_HTTP_SERVER_CAPTURE_HEADERS` is enabled.
314 send any arbitrary HTTP headers. If not populated, only Transfer-Encoding and
315 Content-Type are sent by default. The callback may override the Content-Type
340 .. code-block:: c
367 processing of the Websocket connection is application-specific, hence outside
368 of scope of this guide. See :zephyr:code-sample:`sockets-http-server` for an
369 example Websocket-based echo service implementation.
380 This feature must first be enabled with
386 .. code-block:: c
388 HTTP_SERVER_REGISTER_HEADER_CAPTURE(capture_user_agent, "User-Agent");
393 size_t header_count = client->header_capture_ctx.count;
394 const struct http_header *headers = client->header_capture_ctx.headers;