MCPcopy Create free account
hub / github.com/Sovereign-Engineering/obscuravpn-client / FixedResolver

Class FixedResolver

rustlib/src/debug_bundle/http.rs:76–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 let headers = res.headers();
75 let header_str = |name| headers.get(name)?.to_str().ok().map(|s| s.to_string());
76 result.header_content_type = header_str(reqwest::header::CONTENT_TYPE);
77 result.header_date = header_str(reqwest::header::DATE);
78
79 let mut reader = StreamReader::new(res.bytes_stream().map_err(std::io::Error::other));

Callers 1

debug_httpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected