Newsgroups: php.internals
Path: news.php.net
Xref: news.php.net php.internals:78017
Return-Path: <ajf@ajf.me>
Mailing-List: contact internals-help@lists.php.net; run by ezmlm
Delivered-To: mailing list internals@lists.php.net
Received: (qmail 4957 invoked from network); 14 Oct 2014 14:50:59 -0000
Received: from unknown (HELO lists.php.net) (127.0.0.1)
  by localhost with SMTP; 14 Oct 2014 14:50:59 -0000
Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass
Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass
Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender)
X-PHP-List-Original-Sender: ajf@ajf.me
X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com  
Received: from [192.64.116.216] ([192.64.116.216:52352] helo=imap10-3.ox.privateemail.com)
	by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP
	id 30/84-18603-2583D345 for <internals@lists.php.net>; Tue, 14 Oct 2014 10:50:58 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail.privateemail.com (Postfix) with ESMTP id 1F70D24005D;
	Tue, 14 Oct 2014 10:50:54 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com
Received: from mail.privateemail.com ([127.0.0.1])
	by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id Di-1BOm84NxF; Tue, 14 Oct 2014 10:50:53 -0400 (EDT)
Received: from [10.128.116.68] (dab-far1-h-81-7.dab.02.net [82.132.222.235])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.privateemail.com (Postfix) with ESMTPSA id 82C1F2400D6;
	Tue, 14 Oct 2014 10:50:47 -0400 (EDT)
References: <CAKOpQSwS=Xck41sQQyEYGG8L3VHq+fRWjy0dDorbwZaVWMLCow@mail.gmail.com> <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> <CAKOpQSwRtSU1LNmftyY1b09SONBCfwS-qiMK4gct6uFiW3CSjw@mail.gmail.com> <CAPhkiZwb13FmX+sQLx0Ki52KuwJ4HWTj-84UqcZq3GYPFL8Tnw@mail.gmail.com> <E8F7D721-767C-4E6E-B0BB-F0DEFEB308B2@ajf.me> <CAGAGxbYBO_E-tf7SipgRDgy-kQZiwF96QGSAwGcJpc2zZ=GGNw@mail.gmail.com> <4240E494-94E6-4FC9-BB84-C30FFA69129C@benramsey.com> <CAGAGxbaZjq-f=i3CvcNOa--goiL9kxfp+LJRooA7mgo4wEd_RA@mail.gmail.com> <69EB8F97-7CFC-44E0-8B2D-C2230ADAC87F@ajf.me> <etPan.543d2e49.3d1b58ba.12d@Mikes-iMac.local> <F4F3722F-4335-42C9-AEFC-5D17407E3A34@benramsey.com> <etPan.543d323e.515f007c.12d@Mikes-iMac.local>
Mime-Version: 1.0 (1.0)
In-Reply-To: <etPan.543d323e.515f007c.12d@Mikes-iMac.local>
Content-Type: multipart/alternative;
	boundary=Apple-Mail-90A4BF6E-9300-4E1B-A549-6F9427940971
Content-Transfer-Encoding: 7bit
Message-ID: <48B7514F-48D7-4956-88B1-D0218952F45C@ajf.me>
Cc: Ben Ramsey <ben@benramsey.com>, Kris Craig <kris.craig@gmail.com>,
 Andrey Andreev <narf@devilix.net>, Chris Wright <cw@daverandom.com>,
 PHP internals list <internals@lists.php.net>
X-Mailer: iPhone Mail (12A405)
Date: Tue, 14 Oct 2014 15:50:36 +0100
To: Mike Dugan <mike@mjdugan.com>
Subject: Re: [PHP-DEV] New globals for PUT and DELETE
From: ajf@ajf.me (Andrea Faulds)

--Apple-Mail-90A4BF6E-9300-4E1B-A549-6F9427940971
Content-Type: text/plain;
	charset=windows-1251
Content-Transfer-Encoding: quoted-printable



> On 14 Oct 2014, at 15:25, Mike Dugan <mike@mjdugan.com> wrote:
>=20
> That=92s my understanding. There=92s also some discussion about deriving d=
ata from $_POST/$_FORM that is intended for use with other HTTP verbs, I=92m=
 still trying to ascertain exactly what was in mind there (Andrea I think yo=
u suggested that?)

So, we currently parse multipart and url-encoded request bodies for POST and=
 put them in $_POST. I'm just thinking there's no good reason not to do so f=
or any other request method. However, to avoid confusion, we alias it to $_FO=
RM so it's clear it's not only for POST.
--
Andrea Faulds
http://ajf.me/=

--Apple-Mail-90A4BF6E-9300-4E1B-A549-6F9427940971--