Home | History | Annotate | Download | only in http

Lines Matching full:gzip

14 	"compress/gzip"
147 // requesting compression with an "Accept-Encoding: gzip"
149 // Accept-Encoding value. If the Transport requests gzip on
152 // explicitly requested gzip it is not automatically
1700 if rc.addedGzip && strings.EqualFold(resp.Header.Get("Content-Encoding"), "gzip") {
1898 // added the Accept-Encoding gzip header. If the Transport
1899 // set it, only then do we transparently decode the gzip.
1969 // uncompress the gzip stream if we were the layer that
1976 // Request gzip only, not deflate. Deflate is ambiguous and
1978 // See: http://www.gzip.org/zlib/zlib_faq.html#faq38
1985 // We don't request gzip if the request is for a range, since
1989 req.extraHeaders().Set("Accept-Encoding", "gzip")
2224 // call gzip.NewReader on the first call to Read
2227 zr *gzip.Reader // lazily-initialized gzip reader
2228 zerr error // any error from gzip.NewReader; sticky
2234 gz.zr, gz.zerr = gzip.NewReader(gz.body)