MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / sendAuthTriggeredMsg

Function sendAuthTriggeredMsg

auth/common.go:75–81  ·  view source on GitHub ↗
(wr http.ResponseWriter)

Source from the content-addressed store, hash-verified

73}
74
75func sendAuthTriggeredMsg(wr http.ResponseWriter) {
76 wr.Header().Set("Pragma", "no-cache")
77 wr.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
78 wr.Header().Set("Expires", EPOCH_EXPIRE)
79 wr.WriteHeader(http.StatusBadRequest)
80 wr.Write([]byte(AUTH_TRIGGERED_MSG))
81}

Callers 3

ValidateMethod · 0.85
ValidateMethod · 0.85
ValidateMethod · 0.85

Calls 2

SetMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected