fn has_extension(url: &Url, extensions: &[&str]) -> bool
Whether the path of url ends in one of extensions.
url
extensions