diff --git a/src/net/http/response.go b/src/net/http/response.go index 6d22c2892d..2065a25015 100644 --- a/src/net/http/response.go +++ b/src/net/http/response.go @@ -12,12 +12,13 @@ import ( "crypto/tls" "errors" "fmt" - "golang.org/x/net/http/httpguts" "io" "net/textproto" "net/url" "strconv" "strings" + + "golang.org/x/net/http/httpguts" ) var respExcludeHeader = map[string]bool{ @@ -66,7 +67,7 @@ type Response struct { // with a "chunked" Transfer-Encoding. // // As of Go 1.12, the Body will be also implement io.Writer - // on a successful "101 Switching Protocols" responses, + // on a successful "101 Switching Protocols" response, // as used by WebSockets and HTTP/2's "h2c" mode. Body io.ReadCloser