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

Function empty_response

crates/openshell-cli/src/auth.rs:285–287  ·  view source on GitHub ↗
(status: StatusCode, allowed_origin: Option<&str>)

Source from the content-addressed store, hash-verified

283}
284
285fn empty_response(status: StatusCode, allowed_origin: Option<&str>) -> CallbackResponse {
286 callback_response(status, allowed_origin, None, Bytes::new())
287}
288
289fn json_response(
290 status: StatusCode,

Callers 1

handle_callback_requestFunction · 0.85

Calls 1

callback_responseFunction · 0.85

Tested by

no test coverage detected