]> Cypherpunks repositories - gostls13.git/commit
net/http: sync Get and Head's documentation
authorMatthew Dempsky <mdempsky@google.com>
Tue, 23 Jun 2015 18:36:57 +0000 (11:36 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 25 Jun 2015 05:07:40 +0000 (05:07 +0000)
commit2bcdb5a5d9220f919413ce90ec92ba4ba9167fb7
treead12cfb5849feb791cfff3ca9922fb1083700bdc
parentd6ef6eb65c6d93c5f4c94af4fc7e26f2ab63eafd
net/http: sync Get and Head's documentation

Instead of ambiguously referring to "the Client's CheckRedirect
function" in Head, describe the default behavior like for Get as users
aren't expected to change DefaultClient.CheckRedirect.

While here, use consistent punctuation for the Get and Head Client
method documentation.

Change-Id: I9e7046c73b0d0bc4de002234924d9e7c59aceb41
Reviewed-on: https://go-review.googlesource.com/11362
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/client.go