guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] Support HTTP/2 in HTTP client


From: Tristan Colgate
Subject: Re: [Patch] Support HTTP/2 in HTTP client
Date: Tue, 31 Mar 2020 16:00:54 +0100

http/2 is a substantially different protocol, it will take
considerable effort to support it, guile's client should only be
offering http/1.1 to the server.

On Tue, 31 Mar 2020 at 15:49, Derek Upham <address@hidden> wrote:
>
> Companies like Google now respond to HTTP requests with HTTP 2.
> For example:
>
>   curl --silent --head https://www.google.com
>
> returns the first line
>
>   HTTP/2 200
>
> The Guile HTTP client code expects a “HTTP/x.y” structure, and
> treats this as an error.  This patch recognizes and handles
> “HTTP/2” on input and output.  HTTP version numbers don’t
> proliferate quickly, so the code uses a brute force approach for
> now.
>
>
> Derek
>
> --
> Derek Upham
> address@hidden



-- 
Tristan Colgate-McFarlane
----
  "You can get all your daily vitamins from 52 pints of guiness, and a
glass of milk"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]