Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: