WriteHeader implements http.ResponseWriter
(code int)
| 775 | |
| 776 | // WriteHeader implements http.ResponseWriter |
| 777 | func (rw *statusCodeRecorder) WriteHeader(code int) { |
| 778 | rw.ResponseWriter.WriteHeader(code) |
| 779 | rw.statusCode = code |
| 780 | } |
| 781 | |
| 782 | // Flush implements http.Flusher so the wrapper does not hide the underlying |
| 783 | // writer's streaming capability from handlers. |
no outgoing calls
no test coverage detected