pub fn scrub_http( method: &str, url: &str, allow_list: &[String], ) -> Option<String>
Returns a scrubbed HTTP description of the format: “{method} {scheme}://{domain}” given a method, url, and a list of allowed hosts.