pub fn split_origin(url: &str) -> Option<(&str, &str)>
The scheme and authority of an absolute URL (https://host:port), and the rest (path and query, at least /).
https://host:port
/