MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / Header

Method Header

proxy/proxy_test.go:872–876  ·  view source on GitHub ↗

respHeaders is a test function to read respHeaders

()

Source from the content-addressed store, hash-verified

870
871// respHeaders is a test function to read respHeaders
872func (w *wsRespWriter) Header() http.Header {
873 // Removing indeterminstic header because it cannot be asserted.
874 w.responseHeaders.Del("Date")
875 return w.responseHeaders
876}
877
878func (w *wsRespWriter) WriteHeader(status int) {
879 // unused

Callers 9

respondWithJSONFunction · 0.45
WriteRespHeadersMethod · 0.45
TestConnectionsFunction · 0.45
writeHTTPErrorResponseFunction · 0.45
getHostDetailsMethod · 0.45
uptimeHandlerFunction · 0.45
sseHandlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected