[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] Support HTTP/2 in HTTP client
From: |
Derek Upham |
Subject: |
[Patch] Support HTTP/2 in HTTP client |
Date: |
Tue, 31 Mar 2020 16:42:29 +0200 (CEST) |
User-agent: |
mu4e 1.3.2; emacs 28.0.50 |
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.
0001-Support-HTTP-2-headers-from-web-servers.patch
Description: 0001-Support-HTTP-2-headers-from-web-servers.patch
Derek
--
Derek Upham
address@hidden
- [Patch] Support HTTP/2 in HTTP client,
Derek Upham <=