From: Shivani Singhal Date: Sun, 4 Aug 2019 07:17:55 +0000 (+0530) Subject: net/http: fix typo in Response.Body's doc X-Git-Tag: go1.13rc1~38 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=09c9d3a58a4aa1531ac516754f65c31aa8418d3f;p=gostls13.git net/http: fix typo in Response.Body's doc Fixes #33453. Change-Id: If0aa48f953633690884ddcff033b3be6d1d66443 Reviewed-on: https://go-review.googlesource.com/c/go/+/188541 Reviewed-by: Emmanuel Odeke --- diff --git a/src/net/http/response.go b/src/net/http/response.go index 2065a25015..cd9d796c26 100644 --- a/src/net/http/response.go +++ b/src/net/http/response.go @@ -66,7 +66,7 @@ type Response struct { // The Body is automatically dechunked if the server replied // with a "chunked" Transfer-Encoding. // - // As of Go 1.12, the Body will be also implement io.Writer + // As of Go 1.12, the Body will also implement io.Writer // on a successful "101 Switching Protocols" response, // as used by WebSockets and HTTP/2's "h2c" mode. Body io.ReadCloser