plan_preferences

Function plan_preferences 

Source
pub fn plan_preferences(
    snapshot: &DavCapabilitySnapshot,
    headers: &HeaderMap,
    method: DavMethod,
    depth: Option<Depth>,
) -> DavPreferencePlan
Expand description

Selects supported and method-applicable RFC 8144 preferences.

Unknown preferences, parameters, and values are ignored as requested by the generic Prefer framework. Parsing and canonical response-header selection do not allocate.