pub async fn prepare_request_body(
policy: DavBodyPolicy,
request: Request,
) -> Result<DavPreparedBody, DavBodyError>Expand description
Collects a request body according to the selected bounded body policy.
ยงErrors
Returns a body error when reading fails, the limit is exceeded, or a body is forbidden.