MCPcopy Create free account
hub / github.com/PerroEngine/Perro / map_read_error

Function map_read_error

perro_source/api_modules/perro_networking/src/http.rs:670–680  ·  view source on GitHub ↗
(id: HttpID, url: &str, err: ureq::Error)

Source from the content-addressed store, hash-verified

668 .provider(TlsProvider::NativeTls)
669 .root_certs(RootCerts::PlatformVerifier)
670 .build(),
671 }
672}
673
674fn send_request(
675 agent: &ureq::Agent,
676 config: &HttpConfig,
677 id: HttpID,
678 request: HttpRequest,
679) -> HttpResult<HttpResponse> {
680 let url = request.url.clone();
681 let max_response_bytes = request
682 .max_response_bytes
683 .unwrap_or(config.max_response_bytes)

Callers 1

send_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected