Function opendal::raw::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.