MCPcopy Create free account
hub / github.com/expr-lang/expr / httpOK

Function httpOK

internal/testify/assert/http_assertions_test.go:11–13  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

9)
10
11func httpOK(w http.ResponseWriter, r *http.Request) {
12 w.WriteHeader(http.StatusOK)
13}
14
15func httpReadBody(w http.ResponseWriter, r *http.Request) {
16 _, _ = io.Copy(io.Discard, r.Body)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…