|
ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
|
WebDAV (RFC 4918) filesystem-backed request handler for PC. More...
#include "services/file_transfer/webdav/webdav.h"#include "network_drivers/transport/tcp.h"#include "protocore.h"#include "server/protocore_internal.h"#include "services/system/clock.h"#include "shared_primitives/mime.h"#include "shared_primitives/strbuf.h"#include <string.h>Go to the source code of this file.
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.