net/http: document more that Get/Post/RoundTrip response is streaming #22873
Comments
Change https://golang.org/cl/80075 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Document on the http.Response type at least that Responses in Go are streaming, and the Response just represents the response headers, but the Body may not have arrived yet, and may fail while it's read.
If we put this on the Response type, we don't need to duplicate it in a dozen places.
(Suggestion by @fanirthuban in #22235 (comment))
The text was updated successfully, but these errors were encountered: