Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
isaachawley
· 8y ago · 0 comments
This is outdated and incorrect
http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in...
Comments
[–]
sargas
8y ago
How so?
[–]
isaachawley
OP
8y ago
> On error, any Response can be ignored. A non-nil Response with a non-nil error only occurs when CheckRedirect fails, and even then the returned Response.Body is already closed.
https://golang.org/pkg/net/http/#Client.Do