Skip to main content

normalize_authority

Function normalize_authority 

Source
fn normalize_authority(input: &str) -> &str
Expand description

从 host[:port][/path] 取出 host[:port],省略默认端口(80/443)。