scrub_http

Function scrub_http 

Source
pub fn scrub_http(
    method: &str,
    url: &str,
    allow_list: &[String],
) -> Option<String>
Expand description

Returns a scrubbed HTTP description of the format: “{method} {scheme}://{domain}” given a method, url, and a list of allowed hosts.