pub async fn plan_conditionals(
if_header: Option<&IfHeader>,
resolver: &dyn DavIfStateResolver,
request_path: &DavPath,
prefix: &str,
request_scheme: &str,
request_host: &str,
method: DavMethod,
headers: &HeaderMap,
resource: DavConditionalResource<'_>,
) -> Result<DavConditionalPlan, DavConditionalEvaluationError>Expand description
Enforces WebDAV If first, then applies the RFC 9110 HTTP conditional planner.
Tagged destination/resource conditions therefore fail with WebDAV 412 before the
request-target HTTP conditions are considered. Product code still chooses the metadata
snapshot passed to the HTTP planner.
ยงErrors
Returns an error when DAV If or HTTP conditional evaluation fails.