summaryrefslogtreecommitdiff
path: root/libgo/go/net/http/response.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/http/response.go')
-rw-r--r--libgo/go/net/http/response.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgo/go/net/http/response.go b/libgo/go/net/http/response.go
index f906ce829b4..2065a250156 100644
--- a/libgo/go/net/http/response.go
+++ b/libgo/go/net/http/response.go
@@ -12,12 +12,13 @@ import (
"crypto/tls"
"errors"
"fmt"
- "internal/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