23#ifndef DETERMINISTICESPASYNCWEBSERVER_WEBDAV_H
24#define DETERMINISTICESPASYNCWEBSERVER_WEBDAV_H
30#if DETWS_ENABLE_WEBDAV
33enum class WebDavMethod : uint8_t
52static constexpr int32_t DAV_DEPTH_INFINITY = 0x7fffffff;
55WebDavMethod webdav_method(
const char *m);
61int webdav_depth(
const char *depth_hdr,
int dflt);
67size_t webdav_xml_escape(
char *dst,
size_t cap,
const char *src);
76bool webdav_dest_path(
const char *destination,
char *out,
size_t cap);
84size_t webdav_ms_begin(
char *buf,
size_t cap,
size_t len);
95size_t webdav_ms_entry(
char *buf,
size_t cap,
size_t len,
const char *href,
bool is_collection, uint32_t size,
96 const char *rfc1123_mtime,
const char *content_type);
99size_t webdav_ms_end(
char *buf,
size_t cap,
size_t len);
118size_t webdav_proppatch_ms(
char *buf,
size_t cap,
const char *href,
const char *body,
size_t body_len);
User-facing configuration for DeterministicESPAsyncWebServer.