pub fn http_origin(url: &str) -> Option<String>
Scheme and authority of an advertised HTTP URL (http://host:port).
http://host:port
http://127.0.0.1:8080/rdf4j/ becomes http://127.0.0.1:8080.
http://127.0.0.1:8080/rdf4j/
http://127.0.0.1:8080