http: Client.Do should follow redirects for GET and HEAD
It's documented as such, but it was never wired up after Transport went in and Head was fixed. If people don't want redirects, that's what RoundTripper/ Transport are for. Or a custom redirect policy. R=golang-dev, kevlar CC=golang-dev https://golang.org/cl/4526065
Showing
Please
register
or
sign in
to comment