On Tue, Feb 4, 2014 at 6:51 AM, Daniel Stenberg <[email protected]> wrote:
> On Mon, 3 Feb 2014, Tatsuhiro Tsujikawa wrote: > > Curl needs --compressed. The thing is that in HTTP2 server can send >> gzipped response without seeing accept-encoding: gzip, deflate in HTTP >> request. Twitter utilizes this fact. >> > > But we know it is compressed thanks to some header in the response, right? > We should then fix the code so that http2 + header does the auto-decompress > logic automatically. Right? > > Yes, twitter sends content-encoding: gzip. One possible solution is we pretend "" is specified in data->set.str[STRING_ENCODING] when we switched to HTTP2. Best regards, Tatsuhiro Tsujikawa
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
