WriteHeader captures response status code.
(statusCode int)
| 139 | |
| 140 | // WriteHeader captures response status code. |
| 141 | func (rw *TmpFileResponseWriter) WriteHeader(statusCode int) { |
| 142 | rw.statusCode = statusCode |
| 143 | // Do not call rw.ClickhouseResponseWriter.WriteHeader here |
| 144 | // It will be called explicitly in Finalize / Unregister. |
| 145 | } |
| 146 | |
| 147 | // StatusCode returns captured status code from WriteHeader. |
| 148 | func (rw *TmpFileResponseWriter) StatusCode() int { |
no outgoing calls