Lines Matching refs:Encoding
132 // requesting compression with an "Accept-Encoding: gzip"
134 // Accept-Encoding value. If the Transport requests gzip on
1582 if rc.addedGzip && resp.Header.Get("Content-Encoding") == "gzip" {
1584 resp.Header.Del("Content-Encoding")
1769 // added the Accept-Encoding gzip header. If the Transport
1839 // own value for Accept-Encoding. We only attempt to
1844 req.Header.Get("Accept-Encoding") == "" &&
1860 req.extraHeaders().Set("Accept-Encoding", "gzip")