Commit 80168085 authored by Chris Broadfoot's avatar Chris Broadfoot Committed by Brad Fitzpatrick

net/http: fix typo in Request.GetBody's doc string

Change-Id: I84043b6fe4b20a2514d47217e07e44f26bec52ab
Reviewed-on: https://go-review.googlesource.com/33973Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 80acfe95
...@@ -171,7 +171,7 @@ type Request struct { ...@@ -171,7 +171,7 @@ type Request struct {
Body io.ReadCloser Body io.ReadCloser
// GetBody defines an optional func to return a new copy of // 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 // reading the body more than once. Use of GetBody still
// requires setting Body. // requires setting Body.
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment