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

Function httpError

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

Source from the content-addressed store, hash-verified

23}
24
25func httpError(w http.ResponseWriter, r *http.Request) {
26 w.WriteHeader(http.StatusInternalServerError)
27}
28
29func httpStatusCode(w http.ResponseWriter, r *http.Request) {
30 w.WriteHeader(http.StatusSwitchingProtocols)

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…