Expand description
WebDAV header parsing and protocol precondition rules.
Structs§
- DavProtocol
Error - A product-neutral WebDAV protocol error.
- Destination
- A parsed
Destinationheader restricted to the current origin and mount. - IfHeader
- A parsed WebDAV
Ifheader. - 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 WebDAV
Ifrequest precondition. - DavPrecondition
- Outcome of HTTP entity-tag and modification-date precondition evaluation.
- DavProtocol
Error Kind - Stable protocol error classification for transport adapters.
- Depth
- WebDAV
Depthheader value. - IfState
Condition - One WebDAV
Ifcondition.
Functions§
- destination_
relative_ path - Parses and constrains
Destinationto the current origin and WebDAV mount. - enforce_
if_ header - Resolves referenced resources and enforces the complete WebDAV
Ifstate-list precondition. - enforce_
if_ header_ with_ backends - Resolves
Ifstate from the canonical filesystem and lock backend ports. - evaluate_
http_ download_ preconditions - Evaluates RFC 7232 download preconditions in their required precedence order.
- evaluate_
http_ etag_ preconditions - Evaluates
If-MatchandIf-None-Matchfor a resource operation. - parse_
copy_ depth - Parses the
Depthsemantics used byCOPY. - parse_
delete_ depth - Parses the
Depthsemantics used byDELETE. - parse_
if_ header - Parses a WebDAV
Ifheader. - 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.