cURL / Mailing Lists / curl-library / Single Mail


Re: left for http2

From: Daniel Stenberg <>
Date: Wed, 5 Feb 2014 10:32:13 +0100 (CET)

On Wed, 5 Feb 2014, Fabian Frank wrote:

> This was almost correct, the thing is that non-compressed responses are
> still allowed and for example sends such responses
> and was thus broken. I attached a patch that fixes this, by relying on the
> response header for content encoding.

Thanks, your improvement was also almost correct! =)

We should check that we actually _got_ a http2 response and not only that we
asked for it, as there will be cases when we will be stuck with HTTP1. I
updated your patch slightly before I pushed.

I verified with these commands:

$ curl --http2 -k
$ curl --http2
$ curl --http2

List admin:
Received on 2014-02-05