pub fn parse_pre_path(url: &str) -> Result<PrePath, Error>
Expand description
Parses the pre-path portion of the URL. The scheme & host will be validated but may be uppercase.
Returns Ok(pre_path)
.
Returns Err(_)
if any part of the pre-path is invalid.