Expand description
WebDAV header parsing and protocol precondition rules.
Structs§
- DavProtocol
Error - A product-neutral
WebDAVprotocol error. - Destination
- A parsed
Destinationheader restricted to the current origin and mount. - IfHeader
- A parsed
WebDAVIfheader. - IfResource
Group - Conditions associated with one tagged resource or the request target.
- IfState
List - AND-connected conditions inside one parenthesized state list.
Enums§
- DavIf
Evaluation Error - Failure while resolving and evaluating a
WebDAVIfrequest precondition. - DavProtocol
Error Kind - Stable protocol error classification for transport adapters.
- Depth
WebDAVDepthheader value.- IfState
Condition - One
WebDAVIfcondition.
Functions§
- destination_
relative_ path - Parses and constrains
Destinationto the current origin andWebDAVmount. - enforce_
if_ header - Resolves referenced resources and enforces the complete
WebDAVIfstate-list precondition. - enforce_
if_ header_ with_ backends - Resolves
Ifstate from the canonical filesystem and lock backend ports. - parse_
copy_ depth - Parses the
Depthsemantics used byCOPY. - parse_
delete_ depth - Parses the
Depthsemantics used byDELETE. - parse_
if_ header - Parses a
WebDAVIfheader. - parse_
lock_ depth - Parses the
Depthsemantics used byLOCK. - parse_
lock_ timeout - Parses a bounded LOCK timeout using a product-supplied maximum duration.
- parse_
lock_ token_ header - Parses the required angle-bracketed
Lock-Tokenrequest header. - parse_
move_ depth - Parses the
Depthsemantics used byMOVE. - parse_
overwrite - Parses
Overwrite, defaulting totruewhen the header is absent. - parse_
propfind_ depth - Parses the
Depthsemantics used byPROPFIND. - submitted_
lock_ tokens - Extracts submitted lock tokens from an already parsed
Ifheader. - submitted_
lock_ tokens_ for_ path - Extracts submitted lock tokens that apply to one request path.