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

WebDAV server core (RFC 4918): method classification, header parsing, and the 207 Multi-Status XML builder. More...

#include "ServerConfig.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Detailed Description

WebDAV server core (RFC 4918): method classification, header parsing, and the 207 Multi-Status XML builder.

Mirrors the CoAP/SNMP split: this header declares the pure, host-testable core (no sockets, no filesystem - unit-tested in env:native_webdav). The filesystem-backed request handling (PROPFIND directory walk, PUT/MKCOL/DELETE/ COPY/MOVE, GET via the file-serving path) lives in DetWebServer::serve_dav_* and runs only on a build with a real Arduino FS.

Scope: class 1 (PROPFIND Depth 0/1, PROPPATCH, PUT, DELETE, MKCOL, COPY, MOVE) plus OPTIONS and advisory LOCK/UNLOCK (a synthetic token is issued but not enforced). PROPPATCH is answered 207 with every requested property refused 403 (read-only live properties, no dead-property store). The filesystem-backed handler streams a PUT body straight to the file (DetWebServer's stream-body hook), so uploads are not bounded by BODY_BUF_SIZE.

Definition in file webdav.h.