Req #80179 [Com]: HTTP version still shows as HTTP/1.0
Edit report at https://bugs.php.net/bug.php?id=80179&edit=1
ID: 80179
Comment by: amin dot ari242 at gmail dot com
Reported by: john-stevenson at blueyonder dot co dot uk
Summary: HTTP version still shows as HTTP/1.0
Status: Open
Type: Feature/Change Request
Package: HTTP related
Operating System: Any
PHP Version: 8.0.0rc1
Block user comment: N
Private report: N
New Comment:
That was so amazing.
(https://www.myallsaversconnect.org/)github.com
Previous Comments:
------------------------------------------------------------------------
[2020-10-03 19:26:27] john-stevenson at blueyonder dot co dot uk
Description:
------------
The upgraded behaviour to advertise HTTP/1.1 by default does not happen when a proxy is being used,
as per this line:
smart_str_appendl(&header, " HTTP/1.0\r\n", sizeof(" HTTP/1.0\r\n")-1);
https://github.com/php/php-src/blob/ae944503c34d7c89433eaefe607fc0d631d6f9ac/ext/standard/http_fopen_wrapper.c#L254
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80179&edit=1
Thread (2 messages)