Closed
Description
In parsing: HTTP/1.1 200 OK
StatusCode
is correctly set to 200
but Status
is parsed to 200 OK
when it should only be OK
. This leads to inconsistency with http.StatusText
which only returns OK
instead of 200 OK
https://github.com/golang/go/blob/master/src/net/http/response.go#L176
https://github.com/golang/go/blob/master/src/net/http/status.go#L85