()
| 797 | } |
| 798 | |
| 799 | func (w *netHTTPResponseWriter) StatusCode() int { |
| 800 | if w.statusCode == 0 { |
| 801 | return http.StatusOK |
| 802 | } |
| 803 | return w.statusCode |
| 804 | } |
| 805 | |
| 806 | func (w *netHTTPResponseWriter) Header() http.Header { |
| 807 | if w.h == nil { |
no outgoing calls
no test coverage detected