pub fn verify_urls_match(a: &Url, b: &Url) -> Result<(), Error>
Expand description

Check that both urls are identical. If not, return UrlVerificationError.

let a = Url::parse("https://example.com/abc")?;
let b = Url::parse("https://example.com/123")?;
assert!(verify_urls_match(&a, &b).is_err());