Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78020 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9323 invoked from network); 14 Oct 2014 14:58:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 14:58:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=are.you.winning@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=are.you.winning@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.182 as permitted sender) X-PHP-List-Original-Sender: are.you.winning@gmail.com X-Host-Fingerprint: 209.85.216.182 mail-qc0-f182.google.com Received: from [209.85.216.182] ([209.85.216.182:35864] helo=mail-qc0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/85-18603-72A3D345 for ; Tue, 14 Oct 2014 10:58:48 -0400 Received: by mail-qc0-f182.google.com with SMTP id i17so6713503qcy.41 for ; Tue, 14 Oct 2014 07:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=d9JYhnKKS/GoXWvEHblLIxfGAlcW5fnbgUCLLLdyaGg=; b=pJW5hizgiWwXjteJkmpOT56pCYhv46jA/zHT98+++9qWbL0vxILcQYw3jKsKNTKiTN PM/2a/gZNiI+OlixuyJO1gi8qNrboQIUD3UunP9tS6f99Q/r31h6D9qeKyzCTQKqJrJO Qdiha5UUEbBgJxYXQqF1VXy9b9gyXtgPA7AxG4xwTgTEb7ygTck9Wz7VF1hT3xc94MMp 9ahSygHu6Q4xExaUlAK9DkUV55fJ7JlH8k8x7KBacKPjVIRYEKAGNmrFWBtNA+Zb63oe 2TXIqrQjT8tWCIUi1XefxkRh01FNsBo0J5iHG0/dPyXcbaAgQ5lyB/qBHTcCDS7Gb5CB j80g== MIME-Version: 1.0 X-Received: by 10.140.84.177 with SMTP id l46mr9422201qgd.100.1413298724972; Tue, 14 Oct 2014 07:58:44 -0700 (PDT) Sender: are.you.winning@gmail.com Received: by 10.141.28.193 with HTTP; Tue, 14 Oct 2014 07:58:44 -0700 (PDT) In-Reply-To: <1E66407E-0C92-4BA9-B72E-1ED537AC3C57@ajf.me> References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> <8CB055D4-F164-4DF3-B019-684BAE7E016E@ajf.me> <1E66407E-0C92-4BA9-B72E-1ED537AC3C57@ajf.me> Date: Tue, 14 Oct 2014 15:58:44 +0100 X-Google-Sender-Auth: FjVxE3o9Vm0t3T1gxZ-Mua4qZCw Message-ID: To: Andrea Faulds Cc: Park Framework , Mike Dugan , Kris Craig , Kristopher , Andrey Andreev , PHP internals list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: cw@daverandom.com (Chris Wright) On 14 October 2014 15:25, Andrea Faulds wrote: > > On 14 Oct 2014, at 15:20, Park Framework wrote= : > >> 2014-10-14 17:09 GMT+03:00 Mike Dugan : >>> 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=E2=80=99m not sure it=E2=80=99s a good = idea. json_decode(file_get_contents(=E2=80=98php://input')); isn=E2=80=99t = that bad. JSON decoding also has optional behaviour. No more ini settings please.