MCPcopy Create free account
hub / github.com/discourse/discourse-auth-proxy / WriteHeader

Method WriteHeader

logging.go:45–48  ·  view source on GitHub ↗
(statusCode int)

Source from the content-addressed store, hash-verified

43}
44
45func (w *loggableResponseWriter) WriteHeader(statusCode int) {
46 w.StatusCode = statusCode
47 w.next.WriteHeader(statusCode)
48}
49
50func (w *loggableResponseWriter) Flush() {
51 if flusher, ok := w.next.(http.Flusher); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected