Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-08-18 Thread Matteo Beccati
Hi Rowan, On 17/08/2020 18:36, Rowan Tommins wrote: > On Mon, 17 Aug 2020 at 16:21, Matteo Beccati wrote: >> >> FWIW, I've just been hit by https://bugs.php.net/bug.php?id=47021 in a >> SOAP response from a server using "Transfer-Encoding:> spaces>chunked". I see the bug is still open, although

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-08-17 Thread Matteo Beccati
Hi Rowan, On 21/05/2020 23:53, Rowan Tommins wrote: > d) Support "chunked" transfer encoding (RFC 7230 Section 4.1) FWIW, I've just been hit by https://bugs.php.net/bug.php?id=47021 in a SOAP response from a server using "Transfer-Encoding:chunked". I see the bug is still open, although the

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-08-17 Thread Rowan Tommins
On Mon, 17 Aug 2020 at 16:21, Matteo Beccati wrote: > Hi Rowan, > > On 21/05/2020 23:53, Rowan Tommins wrote: > > d) Support "chunked" transfer encoding (RFC 7230 Section 4.1) > > FWIW, I've just been hit by https://bugs.php.net/bug.php?id=47021 in a > SOAP response from a server using

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-24 Thread Rowan Tommins
On 23/05/2020 08:08, Davey Shafik wrote: This is ridiculously timely as I've been spending my evening working on HTTP/2 stuff in PHP. [...] I believe that HTTP/2 has the potential to dramatically change how we serve content on the web, and PHP should jump on the bandwagon. Hi Davey, I'm

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-23 Thread Ben Ramsey
> On May 23, 2020, at 02:08, Davey Shafik wrote: > > dopOn Fri, May 22, 2020 at 3:58 AM Nikita Popov > wrote: > >>> On Thu, May 21, 2020 at 11:54 PM Rowan Tommins >>> wrote: >>> >>> Hi all, >>> >>> A few years ago, I posted a message suggesting that PHP improve support >>> for HTTP/1.1

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-23 Thread Davey Shafik
dopOn Fri, May 22, 2020 at 3:58 AM Nikita Popov wrote: > On Thu, May 21, 2020 at 11:54 PM Rowan Tommins > wrote: > > > Hi all, > > > > A few years ago, I posted a message suggesting that PHP improve support > > for HTTP/1.1 in its stream wrapper functions: > > https://externals.io/message/96192

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-22 Thread Nikita Popov
On Thu, May 21, 2020 at 11:54 PM Rowan Tommins wrote: > Hi all, > > A few years ago, I posted a message suggesting that PHP improve support > for HTTP/1.1 in its stream wrapper functions: > https://externals.io/message/96192 > > A quick summary of the current situation: > > * HTTP/1.1 was

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-22 Thread Max Semenik
On Fri, May 22, 2020 at 12:54 AM Rowan Tommins wrote: > * PHP has a very simple HTTP client implementation, used by the "http:" > and "https:" stream wrappers, and also by extensions which make HTTP > requests, such as ext/soap Sorry, I'm an internals noob, but why does PHP implement this at

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-22 Thread Eliot Lear
[2nd try, this time with proper etiquette] Hi Rowan and Larry and others, On 21.05.20 23:53, Rowan Tommins wrote: > > I would like to propose that the client advertises HTTP/1.1 in its > requests by default in PHP 8.0.  Users can opt out of this behaviour > in a fully backwards- and

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-21 Thread Larry Garfield
On Thu, May 21, 2020, at 4:53 PM, Rowan Tommins wrote: > Hi all, > > A few years ago, I posted a message suggesting that PHP improve support > for HTTP/1.1 in its stream wrapper functions: > https://externals.io/message/96192 > > A quick summary of the current situation: > > * HTTP/1.1 was

[PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-05-21 Thread Rowan Tommins
Hi all, A few years ago, I posted a message suggesting that PHP improve support for HTTP/1.1 in its stream wrapper functions: https://externals.io/message/96192 A quick summary of the current situation: * HTTP/1.1 was officially standardised in January 1997, and most web browsers had