3t9ljq
Last Updated: January 28, 2019
·
2.727K
· jbowles

Discard response body in Go http request

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

1 Response
Add your response

30839
5 months ago ·