Re: New globals for PUT and DELETE
| From: | Chris Wright | Date: | Tue, 14 Oct 2014 13:53:01 +0000 |
| Subject: | Re: New globals for PUT and DELETE | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78001@lists.php.net to get a copy of this message | ||
On 14 October 2014 14:33, Ben Ramsey <ben@benramsey.com> wrote:
>
> On Oct 14, 2014, at 8:30 AM, Chris Wright <cw@daverandom.com> wrote:
>> I suggested this a while ago, people didn't like the idea, and I'm not
>> sure I do any more, either. We'd do much better focusing on creating a
>> standard native request *object* which provides clean access to this
>> data, and other things that are clumsy at the moment, such as request
>> headers.
>
>
> Agreed, and it seems that’s what PHP-FIG is working on for user land:
> ”æYïÃÃAøéÉ
> ¼Í\Shttps://github.com/php-fig/fig-standards/blob/master/proposed/http-message.md
>
> -Ben
PECL HTTP v2 already has this, actually:
http://devel-m6w6.rhcloud.com/mdref/http/Env/Request#
Also, I think Mike got the naming right there as well, $form is the
accurate description of what it is.