Header returns the header map that will be sent by WriteHeader. Changing the header after a call to WriteHeader (or Write) has no effect.
()
| 51 | // Changing the header after a call to WriteHeader (or Write) has |
| 52 | // no effect. |
| 53 | func (rl *ResponseLogWriter) Header() http.Header { |
| 54 | return rl.Resp.Header() |
| 55 | } |
| 56 | |
| 57 | // Write writes the data to the connection as part of an HTTP reply. |
| 58 | // If WriteHeader has not yet been called, Write calls WriteHeader(http.StatusOK) |
no outgoing calls