parse_absolute_url

Function parse_absolute_url 

Source
pub fn parse_absolute_url(value: &str, label: &str) -> Result<Url>
Expand description

Parses an absolute URL and maps parser failures into UtilsError.

ยงErrors

Returns an error when value is not an absolute URL accepted by Url::parse.