]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in Request.GetBody's doc string
authorChris Broadfoot <cbro@golang.org>
Tue, 6 Dec 2016 01:28:51 +0000 (17:28 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 6 Dec 2016 01:48:36 +0000 (01:48 +0000)
Change-Id: I84043b6fe4b20a2514d47217e07e44f26bec52ab
Reviewed-on: https://go-review.googlesource.com/33973
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/request.go

index 81763007c4bac200f1a6e2a5ae85531a007e14ae..96fa619683c0e80f1b367fff8a2fe291e5990e24 100644 (file)
@@ -171,7 +171,7 @@ type Request struct {
        Body io.ReadCloser
 
        // GetBody defines an optional func to return a new copy of
-       // Body. It used for client requests when a redirect requires
+       // Body. It is used for client requests when a redirect requires
        // reading the body more than once. Use of GetBody still
        // requires setting Body.
        //