Re: New globals for PUT and DELETE
| From: | Chris Wright | Date: | Tue, 14 Oct 2014 14:58:44 +0000 |
| Subject: | Re: New globals for PUT and DELETE | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78020@lists.php.net to get a copy of this message | ||
On 14 October 2014 15:25, Andrea Faulds <ajf@ajf.me> wrote:
>
> On 14 Oct 2014, at 15:20, Park Framework <park.framework@gmail.com> wrote:
>
>> 2014-10-14 17:09 GMT+03:00 Mike Dugan <mike@mjdugan.com>:
>>> If no one else is already working on it, I can write one up this
>>> morning/early this afternoon and submit it.
>>
>> Ok
>> The RFC In this topic will be included support Rquest - Content-Type:
>> application/json?
>> It is mandatory for RESTFull.
>
> This has been discussed before. I’m not sure it’s a good idea.
> json_decode(file_get_contents(‘php://input')); isn’t that bad.
JSON decoding also has optional behaviour. No more ini settings please.