Re: New Standardized HTTP Interface

From: Date: Thu, 30 Oct 2014 20:24:23 +0000
Subject: Re: New Standardized HTTP Interface
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-78486@lists.php.net to get a copy of this message
> On 30 Oct 2014, at 19:49, Sherif Ramadan <theanomaly.is@gmail.com> wrote: > > Well, let's look at how well providing implementation has worked out for > PHP so far. > > GPC variables are implementation. They pose rigidity to userland code for a > number of reasons. For example, if you do send a PUT request to PHP, PHP > will not bother populating GPC at all. Instead it leaves the user to define > their own handling from the input stream directly. If you do send GET/POST > requests to PHP, the variable names can be mangled and $_GET/$_POST are > treated differently for encoding as one is run through url_decode and the > other is not. We could just fix these problems rather than adding an entirely new implementation. -- Andrea Faulds http://ajf.me/

« previous php.internals (#78486) next »