Skip to main content

resolve_request_path

Function resolve_request_path 

Source
pub fn resolve_request_path(raw: &str) -> Result<PathBuf, String>
Expand description

A request path as an absolute host path: ~ expanded, an MSYS-style /c/… converted on Windows, NUL refused, relative refused (a relative path would resolve against srv’s own working directory, which means nothing to the user).