cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: left for http2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Feb 2014 14:05:25 +0100 (CET)

On Tue, 4 Feb 2014, Tatsuhiro Tsujikawa wrote:

> 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.

Exactly! Or perhaps to be more strictly only allowing gzip (as that's what
http2-draft-09 says[1]), we set it to "gzip".

CURLOPT_ACCEPT_ENCODING should be ignored when http2 has been negotiated.

[1] = http://tools.ietf.org/html/draft-ietf-httpbis-http2-09#section-9.3

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-04