MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / empty_request

Function empty_request

crates/openshell-server/src/multiplex.rs:1393–1398  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

1391 }
1392
1393 fn empty_request(path: &str) -> Request<Full<Bytes>> {
1394 Request::builder()
1395 .uri(path)
1396 .body(Full::new(Bytes::new()))
1397 .unwrap()
1398 }
1399
1400 fn grpc_status<B>(res: &Response<B>) -> Option<String> {
1401 res.headers()

Calls

no outgoing calls

Tested by

no test coverage detected