From: Chris Broadfoot Date: Tue, 6 Dec 2016 01:28:51 +0000 (-0800) Subject: net/http: fix typo in Request.GetBody's doc string X-Git-Tag: go1.8beta2~88 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8016808562c514dbb1146739b56ca67be9028d91;p=gostls13.git net/http: fix typo in Request.GetBody's doc string Change-Id: I84043b6fe4b20a2514d47217e07e44f26bec52ab Reviewed-on: https://go-review.googlesource.com/33973 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/http/request.go b/src/net/http/request.go index 81763007c4..96fa619683 100644 --- a/src/net/http/request.go +++ b/src/net/http/request.go @@ -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. //