]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] net/http: clarify client return values in docs
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 21 Sep 2012 19:53:41 +0000 (05:53 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 21 Sep 2012 19:53:41 +0000 (05:53 +1000)
commit34141f7c1b4a84c302ec6bfaaa8dd1b72289ac59
tree5f13199083de997f88aefc511c780b27d968fafb
parent3046fc97548de217735e710e4a0ce32ce610810a
[release-branch.go1] net/http: clarify client return values in docs

««« backport f7839a55036e
net/http: clarify client return values in docs

Also, fixes one violation found during testing where both
response and error could be non-nil when a CheckRedirect test
failed.  This is arguably a minor API (behavior, not
signature) change, but it wasn't documented either way and was
inconsistent & non-Go like.  Any code depending on the old
behavior was wrong anyway.

R=adg, rsc
CC=golang-dev
https://golang.org/cl/6307088

»»»
src/pkg/net/http/client.go
src/pkg/net/http/client_test.go