pub fn url_with_replaced_hostname(
    url: &str,
    hostname: &str
) -> Result<String, ()>
Expand description

Replace the hostname in the supplied url and return a new url