Expand description
LOCK/UNLOCK protocol request planning and response composition.
Enums§
- DavLock
Plan - Backend operation selected from a LOCK request.
- DavLock
Plan Error - Failure while parsing and selecting a LOCK operation.
Functions§
- enforce_
parent_ unlocked - Applies
enforce_unlockedto the canonical parent of a mutation target. - enforce_
unlocked - Rejects an operation when a conflicting lock token was not submitted for its lock root.
- ensure_
lock_ target_ exists - Ensures that a LOCK target exists, creating an empty lock-null file when allowed.
- lock_
acquire_ success_ response - Builds the 200/201 response for a LOCK acquisition.
- lock_
conflict_ response - Builds a 423 response identifying the lock whose token must be submitted.
- lock_
discovery_ element - Builds the
DAV:lockdiscoveryproperty from backend lock values. - lock_
limit_ response - Builds the active-lock capacity response.
- lock_
refresh_ success_ response - Builds the successful response for a LOCK refresh.
- lock_
xml_ error_ response - Maps LOCK XML failures to their protocol response.
- plan_
lock_ request - Selects lock acquisition or refresh and validates all protocol-owned inputs.
- unlock_
success_ response - Builds the successful cache-safe UNLOCK response.
- unlock_
token_ mismatch_ response - Builds the 409 response for an UNLOCK token that does not match the request URI.
- unsubmitted_
lock_ conflicts - Returns conflicting locks whose tokens were not submitted for their corresponding lock root.