MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / empty_response

Function empty_response

gateway/src/proxy/tls_terminate.rs:146–151  ·  view source on GitHub ↗
(status: StatusCode)

Source from the content-addressed store, hash-verified

144}
145
146fn empty_response(status: StatusCode) -> Result<Response<String>> {
147 Response::builder()
148 .status(status)
149 .body(String::new())
150 .context("Failed to build response")
151}
152
153impl Proxy {
154 pub(crate) async fn handle_this_node(

Callers 1

handle_this_nodeMethod · 0.85

Calls 1

statusMethod · 0.45

Tested by

no test coverage detected