From 09c9d3a58a4aa1531ac516754f65c31aa8418d3f Mon Sep 17 00:00:00 2001 From: Shivani Singhal Date: Sun, 4 Aug 2019 12:47:55 +0530 Subject: [PATCH] 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 --- src/net/http/response.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0