MCPcopy Create free account
hub / github.com/bytecodealliance/wstd / http_not_found

Function http_not_found

examples/http_server_proxy.rs:59–64  ·  view source on GitHub ↗
(_request: Request<Body>)

Source from the content-addressed store, hash-verified

57}
58
59fn http_not_found(_request: Request<Body>) -> Response<Body> {
60 Response::builder()
61 .status(StatusCode::NOT_FOUND)
62 .body(Body::empty())
63 .unwrap()
64}

Callers 1

mainFunction · 0.70

Calls 1

emptyFunction · 0.85

Tested by

no test coverage detected