usecrate::extract::response::Response;implResponse{/// Resolve a relative URL against this response's URL.
pubfnurljoin(&self, path:&str)-> String{useurl::Url;Url::parse(&self.url).and_then(|base|base.join(path)).map(|u|u.to_string()).unwrap_or_else(|_|path.to_string())}}