MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / WriteHeader

Method WriteHeader

pkg/middleware/request_logger.go:76–79  ·  view source on GitHub ↗

WriteHeader writes the status code for the Response

(s int)

Source from the content-addressed store, hash-verified

74
75// WriteHeader writes the status code for the Response
76func (r *loggingResponse) WriteHeader(s int) {
77 r.ResponseWriter.WriteHeader(s)
78 r.status = s
79}
80
81// Hijack implements the `http.Hijacker` interface that actual ResponseWriters
82// implement to support websockets

Callers 15

SignInPageMethod · 0.80
UserInfoMethod · 0.80
AuthOnlyMethod · 0.80
errorJSONMethod · 0.80
TestBasicAuthPasswordFunction · 0.80
NewPassAccessTokenTestFunction · 0.80
TestApiRoutesFunction · 0.80
TestAllowedRequestFunction · 0.80

Calls

no outgoing calls