[][src]Function bdrck::http::util::get_links

pub fn get_links(headers: &HeaderMap) -> Result<HashMap<String, Vec<Url>>>

This function parses the contents of the HTTP "link" header. The result is a map from rel to URL(s). Note that the returned map may be empty - this is not an error.