]> Cypherpunks repositories - gostls13.git/commit
net/http: revert back to (and test) Go 1 CheckRedirect behavior
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 18 Jul 2012 20:48:39 +0000 (13:48 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 18 Jul 2012 20:48:39 +0000 (13:48 -0700)
commitdfd7f18130e538c53a2974988caecacd53d473f1
treedadee4ab4fe36969b91920585efc14f72b7b237d
parentdd78f745c44f426578fbb8cddcc05c8227fb0ad5
net/http: revert back to (and test) Go 1 CheckRedirect behavior

If a Client's CheckRedirect function returns an error, we
again return both a non-nil *Response and a non-nil error.

Fixes #3795

R=golang-dev, n13m3y3r
CC=golang-dev
https://golang.org/cl/6429044
src/pkg/net/http/client.go
src/pkg/net/http/client_test.go