DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
webdav.cpp File Reference

WebDAV (RFC 4918) filesystem-backed request handler for DetWebServer. More...

#include "services/webdav/webdav.h"
#include "dwserver.h"
#include "network_drivers/transport/tcp.h"
#include "server/dwserver_internal.h"
#include "shared_primitives/mime.h"
#include <string.h>

Go to the source code of this file.

Detailed Description

WebDAV (RFC 4918) filesystem-backed request handler for DetWebServer.

Split out of dwserver.cpp (single-purpose server files). The pure WebDAV core - method classification, the 207 Multi-Status XML builder, header parsing - lives in services/webdav/webdav.{h,cpp} and is host-tested; this file is the DetWebServer glue that needs a real filesystem (PROPFIND/PUT/COPY/MOVE/... over an fs::FS subtree). WEBDAV requires FILE_SERVING (enforced in ServerConfig.h), so the file-serving helpers it borrows are always present. Behaviour is identical to the pre-split code - a pure move.

Definition in file webdav.cpp.