3t9ljq
Last Updated: February 25, 2016
·
2.169K
· jbowles
9608da7db688950cfd161f51feb648ba

Discard response body in Go http request

....
io.Copy(ioutil.Discard, resp.Body)
defer resp.Body.Close()
....
Say Thanks
Respond