Module response

Module response 

Source
Expand description

Transport-neutral WebDAV response model and download response planning.

Structs§

DavDownloadPlan
A complete response shell plus the storage read selected by the protocol layer.
DavMultiRangeLimits
Hard bounds applied before any multi-range backend stream is opened.
DavMultiRangePolicy
Explicit policy that enables bounded multi-range response planning for one resource.
DavMultipartDownloadPlan
Bounded multipart framing and final backend range-open plan.
DavMultipartSegmentPlan
One final backend range and its framing location in a multipart plan.
DavResponse
Status, headers, and body produced by the protocol layer.

Enums§

DavBodyError
Failure while enforcing a request body policy in the transport adapter.
DavDownloadBody
Whether a successful GET/HEAD response needs content from the product backend.
DavDownloadPlanError
Failure while building a product-neutral download response plan.
DavRangeLimitBehavior
Stable response policy when an otherwise valid multi-range request exceeds a hard bound.
DavResponseBody
WebDAV response body before transport adaptation.

Functions§

backend_error_response
Maps a classified product backend failure to the WebDAV status contract.
body_error_response
Builds the protocol response for a transport body-policy failure.
capability_evaluation_error_response
Maps provider lookup or invalid product capability declarations to a response.
conditional_plan_error_response
Maps conditional request parsing or representation failures to a response.
gate_method
Gates known and unknown methods through the snapshot’s protocol dispatch projection.
method_not_allowed_response
Builds the response for an unsupported HTTP/WebDAV method.
open_download
Opens the storage stream selected by a download plan and verifies its declared length.
options_response
Builds the response to a DAV OPTIONS request.
plan_download_response
Builds the GET/HEAD response and storage-read plan after product metadata has been resolved.
plan_download_response_with_multi_range
Builds a GET/HEAD plan with an explicitly bounded multi-range policy.
protocol_error_response
Maps a protocol parsing/precondition failure to its transport-neutral response.
range_not_satisfiable_response
Builds the response required when a byte range cannot be served.