plan_report_request_with_limits

Function plan_report_request_with_limits 

Source
pub fn plan_report_request_with_limits(
    snapshot: &DavCapabilitySnapshot,
    body: &[u8],
    depth: Option<Depth>,
    limits: DavReportLimits,
) -> Result<DavReportRequest, DavReportPlanError>
Expand description

Parses a REPORT with an explicit parsed Depth and product-configured limits.

depth == None applies the RFC 3253 default of Depth 0. An explicitly supplied Depth is retained even when it is also zero, allowing the product traversal adapter to select the required Multi-Status execution shape.

ยงErrors

Returns an error when grammar, limits, or the target capability snapshot reject the report.