boulder/metrics/measured_http
Roland Bracewell Shoemaker 912fa6ffff Properly set status code when WriteHeader isn't explicitly called (#3828)
If a handler doesn't explicitly call `WriteHeader` before `Write` then the status code is set to `http.StatusOK` but `measured_http.MeasuredHandler` doesn't handle this which results in reporting `0` as the response code.
2018-08-24 11:37:32 -07:00
..
http.go Properly set status code when WriteHeader isn't explicitly called (#3828) 2018-08-24 11:37:32 -07:00
http_test.go Properly set status code when WriteHeader isn't explicitly called (#3828) 2018-08-24 11:37:32 -07:00