Skip to main content

request_target

Function request_target 

Source
pub fn request_target<'a>(
    request: &Request,
    mount_path: &'a str,
) -> Result<DavRequestTarget<'a>, DavProtocolError>
Expand description

Parses and validates the request target.

ยงErrors

Returns a protocol error when the URI or mount path is invalid.