Skip to main content

normalize_origin

Function normalize_origin 

Source
pub fn normalize_origin(url: &str) -> Result<String, CloudError>
Expand description

https://host[:port] (or http://localhost|127.0.0.1[:port]), no path, query, fragment or credentials, no trailing slash.