MCPcopy
hub / github.com/gorilla/mux / Header

Method Header

old_test.go:40–42  ·  view source on GitHub ↗

Header returns the response headers.

()

Source from the content-addressed store, hash-verified

38
39// Header returns the response headers.
40func (rw *ResponseRecorder) Header() http.Header {
41 return rw.HeaderMap
42}
43
44// Write always succeeds and writes to rw.Body, if not nil.
45func (rw *ResponseRecorder) Write(buf []byte) (int, error) {

Callers 5

TestCORSMethodMiddlewareFunction · 0.45
ServeHTTPMethod · 0.45
CORSMethodMiddlewareFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected