Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2695 invoked from network); 2 Oct 2013 11:37:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Oct 2013 11:37:38 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.181 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.215.181 mail-ea0-f181.google.com Received: from [209.85.215.181] ([209.85.215.181:34967] helo=mail-ea0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id ED/82-23255-F750C425 for ; Wed, 02 Oct 2013 07:37:36 -0400 Received: by mail-ea0-f181.google.com with SMTP id d10so318569eaj.26 for ; Wed, 02 Oct 2013 04:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=gQCcs4C9jlZx9L958q3pufz1fl/tlk2D/CGlAfX4fwA=; b=CeihrevSpdgxJBSxztJw6MMRfqQ1+WnY89FmjmHN7sabxL37sLTNm+xq0JKEy1ifI2 EIdIoSj2co7BNKAyF99ubDX4eh/liaWacLna0aYlLcfyM8SpXKig+SBDwszoiuLRzgav pao4KtWKV/CB7GKkJ46b+9XlVJL6utxdA5BGSVFxJ0J0AskPiFI5cfQTq/X6M4jPiyi1 HBsht9I5GHdEy73yAymabwMKK3XD/X1C2zZz1kkvuWpw/EFwJg3H7Cziy8itrSamc4Bg WkLw4ka1GTb1CGr5ZbYJaitEjwc/0mZ3xf7NaLIONGnW4b5bkX2I2ly79cWUEblIQelY +XnA== X-Received: by 10.15.64.1 with SMTP id n1mr2988730eex.15.1380713853183; Wed, 02 Oct 2013 04:37:33 -0700 (PDT) Received: from [192.168.1.206] ([92.255.5.146]) by mx.google.com with ESMTPSA id x47sm2811482eea.16.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Oct 2013 04:37:32 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_A6DCA400-2AF0-4E36-BA4A-C43457B12C7C"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) In-Reply-To: Date: Wed, 2 Oct 2013 15:37:12 +0400 Cc: Michael Wallner , PHP Internals Message-ID: <3D0CD8B8-8055-4B02-8369-3DA718D58B75@gmail.com> References: To: Leigh X-Mailer: Apple Mail (2.1510) Subject: Re: [PHP-DEV] HTTP supergloblas and request body/query (was: Parsing PUT data) From: indeyets@gmail.com (Alexey Zakhlestin) --Apple-Mail=_A6DCA400-2AF0-4E36-BA4A-C43457B12C7C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 02.10.2013, at 15:12, Leigh wrote: > On 2 October 2013 08:31, Michael Wallner wrote: >>=20 >> I had it, but I'm not sure $_BODY fits either, because it should be = an >> array. Currently only form data fits the purpose of de-serialisation >> of a request body. >>=20 >=20 > Not so sure about that. I don't think there is a rule that says a body > _has_ to be in query string name=3Dvalue format, or that multipart > elements _have_ to have a name=3Dsomething attribute. I could quite > easily imagine PUT requests containing a textual body without an > associated field name (the URI would contain the field name). >=20 > (correct me if I'm wrong) In these cases, Content-type of body would different. And proposal mentions that interpretation should happen strictly basing = on the content type --=20 Alexey Zakhlestin CTO at Grids.by/you https://github.com/indeyets PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc --Apple-Mail=_A6DCA400-2AF0-4E36-BA4A-C43457B12C7C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCgAGBQJSTAV8AAoJEMkJcRxZdR275WkH+wVhlgfmTzL67EDyBuBX+RVn cQoqhYXBZadfPXFxlnw1/ulC51Vc7iczzpkjTEdCqdsaQkEO6cFEAjEQKq+ptsM3 s8DQTNOtZyd1xDbzcf8Mya0c5st11kd9RgBdZKi4j27W13owRDUkHJvV72ettuJh LabPU+TNSIL2O/PZYr5YOxGEPiWL0gUoOa7YPov+D40Gl0IumWhJXZYoVsVbNH4z AtGbhHWghi9EhH7yty8SKuFuSSyBzP9t6/6vgUQwaDBcy8qDmfLjgjyqrXKLPcTJ pl0OPjpXs3NrVX+wXnHxQagRRiAMhg33Yw2oGAghvkOP93NeY2zhLabyC21H5F0= =Kuo+ -----END PGP SIGNATURE----- --Apple-Mail=_A6DCA400-2AF0-4E36-BA4A-C43457B12C7C--