Module put

Module put 

Source
Expand description

PUT request planning and success response composition.

Structs§

DavPartialPutPlan
Byte range selected for a private-agreement partial PUT.
DavPutPlan
Product-side open/write settings selected from capabilities and HTTP preconditions.
DavPutResponseError
Failure while composing the successful PUT response.

Enums§

DavPutPlanError
Failure while planning a PUT request.
DavPutResourceState
Resolved state of the PUT request target.
DavPutWritePlan
Product write operation selected from the declared PUT compatibility capabilities.

Functions§

plan_put_request
Evaluates PUT preconditions and selects product-side create/open settings.
put_plan_error_response
Maps a PUT planning failure through the same snapshot used for method planning.
put_success_response
Builds the 201/204 response selected by the pre-write resource state.