MCPcopy Create free account
hub / github.com/06chaynes/http-cache / no_cache

Function no_cache

http-cache-tower-server/examples/axum_basic.rs:89–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89async fn no_cache() -> Response {
90 (
91 StatusCode::OK,
92 [("cache-control", "no-store")],
93 "This response is never cached",
94 )
95 .into_response()
96}

Callers

nothing calls this directly

Calls 1

into_responseMethod · 0.80

Tested by

no test coverage detected