ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
webdav.cpp File Reference

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

Go to the source code of this file.

Detailed Description

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

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

Definition in file webdav.cpp.