]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in Response.Body's doc
authorShivani Singhal <shivani.singhal2804@gmail.com>
Sun, 4 Aug 2019 07:17:55 +0000 (12:47 +0530)
committerEmmanuel Odeke <emm.odeke@gmail.com>
Mon, 5 Aug 2019 05:44:06 +0000 (05:44 +0000)
Fixes #33453.

Change-Id: If0aa48f953633690884ddcff033b3be6d1d66443
Reviewed-on: https://go-review.googlesource.com/c/go/+/188541
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/net/http/response.go

index 2065a250156ba270a8d659d629105473d8a90a02..cd9d796c2641494041cb0273700b973e49e8a609 100644 (file)
@@ -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