request_target

Function request_target 

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

Parses the request target before resolving whether the HTTP method is known to Forge.

ยงErrors

Returns DavProtocolError when the URI, origin, or mount-relative target is invalid.