Function parse_location

Source
pub fn parse_location(headers: &HeaderMap) -> Result<Option<&str>>
Expand description

Parse redirect location from header map

ยงNote

The returned value maybe a relative path, like /index.html, /robots.txt, etc.