]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix the old url about deflate
authorcatatsuy <m.ddotx.f@gmail.com>
Thu, 20 Dec 2018 03:36:27 +0000 (12:36 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 20 Dec 2018 05:42:07 +0000 (05:42 +0000)
Change-Id: Iaa1468296fbc98389165a152cf8b591216c22489
Reviewed-on: https://go-review.googlesource.com/c/155217
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/transport.go

index f30ad2151c4944bf14e33a987462c64a57204bbf..44d27d05c2f1d07537cef05cc1e9a0cecf5382cd 100644 (file)
@@ -2116,7 +2116,7 @@ func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err err
                req.Method != "HEAD" {
                // Request gzip only, not deflate. Deflate is ambiguous and
                // not as universally supported anyway.
-               // See: http://www.gzip.org/zlib/zlib_faq.html#faq38
+               // See: https://zlib.net/zlib_faq.html#faq39
                //
                // Note that we don't request this for HEAD requests,
                // due to a bug in nginx: