Req #80179 [Com]: HTTP version still shows as HTTP/1.0

From: Date: Wed, 01 Feb 2023 08:39:40 +0000
Subject: Req #80179 [Com]: HTTP version still shows as HTTP/1.0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243603@lists.php.net to get a copy of this message
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)

« previous php.bugs (#243603) next »