cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP2: HTTP/1.1 in libcurl's verbose output

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Jan 2015 23:57:43 +0100 (CET)

On Thu, 29 Jan 2015, Mohammad_AlSaleh wrote:

>> First: yeah, this is probably something we should fix so that users who see
>> this request won't be mislead into believing this is actually a 1.1
>> request.
>
> Yes. That's what I was trying to communicate through.

It is just a bit more complicated than putting another string there and be
done with it. The string is still used as 1.1 when the request is sent in the
case where an upgrade is done to a 1.1 server when asked to do HTTP/2. So, a
fix will have to be a little bit aware of the situation before it can use "2"
there instead of "1.1".

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-28