Re: Re: HTTP/1.1 by default in PHP 8.0
| From: | Rowan Tommins | Date: | Tue, 28 Jul 2020 20:48:39 +0000 |
| Subject: | Re: Re: HTTP/1.1 by default in PHP 8.0 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111236@lists.php.net to get a copy of this message | ||
On 28/07/2020 19:22, Niklas Keller wrote:
Do we handle 1XX responses, yet? https://tools.ietf.org/html/rfc7231#section-6.2Yes, as of this patch a few years back: https://github.com/php/php-src/pull/2175/files
This is what implementations should do, see https://tools.ietf.org/html/rfc7230#section-2.6I guess that's part of the "generous in what you accept" philosophy, since it makes no sense for a server to send a response chunked if the client didn't advertise 1.1 capabilities.
That section also says we should send 1.1, as we support it.Indeed, as far as I have been able to tell, the client code now complies with the spec for HTTP 1.1, although I struggled to find a list of minimum capabilities. Regards, -- Rowan Tommins (né Collins) [IMSoP]