Skip to content

Commit 7e1ec1e

Browse files
catatsuybradfitz
authored andcommitted
net/http: fix the old url about deflate
Change-Id: Iaa1468296fbc98389165a152cf8b591216c22489 Reviewed-on: https://go-review.googlesource.com/c/155217 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 84066f1 commit 7e1ec1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2116,7 +2116,7 @@ func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err err
21162116
req.Method != "HEAD" {
21172117
// Request gzip only, not deflate. Deflate is ambiguous and
21182118
// not as universally supported anyway.
2119-
// See: http://www.gzip.org/zlib/zlib_faq.html#faq38
2119+
// See: https://zlib.net/zlib_faq.html#faq39
21202120
//
21212121
// Note that we don't request this for HEAD requests,
21222122
// due to a bug in nginx:

0 commit comments

Comments
 (0)