|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Filesystem-backed static file serving for DetWebServer (GET/HEAD of an fs::FS path). More...
#include "dwserver.h"#include "network_drivers/transport/tcp.h"#include "server/dwserver_internal.h"#include "server/http_range.h"#include "shared_primitives/mime.h"#include <stdio.h>#include <string.h>#include <time.h>Go to the source code of this file.
Filesystem-backed static file serving for DetWebServer (GET/HEAD of an fs::FS path).
Split out of dwserver.cpp (single-purpose server files). Covers the conditional-GET validators (ETag / Last-Modified / If-None-Match / If-Modified-Since), byte-range requests (RFC 7233), pre-compressed .gz variants, and the cross-loop file-send pump that pages a large body out without truncating or blocking the worker. The shared RFC 1123 date helper (http_rfc1123) lives here because WEBDAV requires FILE_SERVING, so this TU is its single always-present home. Behaviour is identical to the pre-split code - a pure move.
Definition in file file_serving.cpp.