diff options
| author | jiahua wang <wjh180909@gmail.com> | 2021-10-08 09:59:15 +0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2021-11-07 04:57:22 +0000 |
| commit | 9e6ad46bccfa7a63e768236bcd1fd54dab38e4d1 (patch) | |
| tree | 6a55ad5dbc6d18cee08a2f76769ad1cba1e4f585 /src/net/http/httputil | |
| parent | 85493d53e3bffbd08de3a97672a5a6f10b4901a8 (diff) | |
| download | go-9e6ad46bccfa7a63e768236bcd1fd54dab38e4d1.tar.xz | |
net/http: fix spelling in documentation
Change-Id: I8b0924300eafe27de98975512a78a6527a92e446
Reviewed-on: https://go-review.googlesource.com/c/go/+/354729
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/net/http/httputil')
| -rw-r--r-- | src/net/http/httputil/dump.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/httputil/dump.go b/src/net/http/httputil/dump.go index 2948f27e5d..d7baecd9c1 100644 --- a/src/net/http/httputil/dump.go +++ b/src/net/http/httputil/dump.go @@ -292,7 +292,7 @@ func DumpRequest(req *http.Request, body bool) ([]byte, error) { // can detect that the lack of body was intentional. var errNoBody = errors.New("sentinel error value") -// failureToReadBody is a io.ReadCloser that just returns errNoBody on +// failureToReadBody is an io.ReadCloser that just returns errNoBody on // Read. It's swapped in when we don't actually want to consume // the body, but need a non-nil one, and want to distinguish the // error from reading the dummy body. |
