SlyMarbo / spdy

[deprecated] A full-featured SPDY library for the Go language.
BSD 2-Clause "Simplified" License
116 stars 13 forks source link

Transport.DisableCompression #70

Closed chendo closed 10 years ago

chendo commented 10 years ago

When setting DisableCompression to true on spdy.Transport and using it in http.Client, it still requests with Accept-Encoding: gzip and the response is gzipped.

chendo commented 10 years ago

The request in question is hitting Cloudflare's SPDY implementation

SlyMarbo commented 10 years ago

Gzip support is mandated by the SPDY protocol so even if the accept-encoding: gzip header wasn't sent, the server would still be allowed to reply with gzip-encoded data. On 10 Oct 2014 11:07, "Jack Chen" notifications@github.com wrote:

The request in question is hitting Cloudflare's SPDY implementation

— Reply to this email directly or view it on GitHub https://github.com/SlyMarbo/spdy/issues/70#issuecomment-58636410.