Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
fn 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
main
Function · 0.70
Calls
1
empty
Function · 0.85
Tested by
no test coverage detected