Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78826 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82567 invoked from network); 6 Nov 2014 22:54:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2014 22:54:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.178 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.212.178 mail-wi0-f178.google.com Received: from [209.85.212.178] ([209.85.212.178:38193] helo=mail-wi0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/10-15374-E1CFB545 for ; Thu, 06 Nov 2014 17:54:23 -0500 Received: by mail-wi0-f178.google.com with SMTP id bs8so2971577wib.5 for ; Thu, 06 Nov 2014 14:54:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=PiZvQ+4NJXiZr4AQOkB/etuY0s8a2YE1JqC7nQOdNfk=; b=Zzq2RO6k8rQZbgFn8pXGBADyq+zHbwwuMM1s2ogwBbRVN7Oid07cSGAz+SVppReH/H 8xIcGDsOAZyli+fgwv66nMUsJVw9AKJst/r1PbdDkJpAovWCgCXtiYzQvJ1AXpr9f3fx AeMm8tSqR4HNmSUK2cC25BMIKCyQ0rGkBPqciEEwnc9X37bFJaqKyx/JpiTtHLDMcvGf /apKrH2wKr1/FAy9NKj99MZXJgFlF+Gqqip9KlRZD9JEh8f3cKaFUVyMu/cZ88/cMfwL 0Y1W6FN398nJyPPFoAJue9AYxQM2VWXpWjyy8opzBvGURQKcRupS13mRD1i4RrpQT6oa cobA== MIME-Version: 1.0 X-Received: by 10.194.79.201 with SMTP id l9mr10168121wjx.59.1415314458379; Thu, 06 Nov 2014 14:54:18 -0800 (PST) Received: by 10.216.123.4 with HTTP; Thu, 6 Nov 2014 14:54:18 -0800 (PST) Date: Thu, 6 Nov 2014 17:54:18 -0500 Message-ID: To: Sanford Whiteman Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7bf0d0f6898d560507389319 Subject: Re: New Standardized HTTP Interface From: theanomaly.is@gmail.com (Sherif Ramadan) --047d7bf0d0f6898d560507389319 Content-Type: text/plain; charset=UTF-8 On Thu, Nov 6, 2014 at 6:42 AM, Sanford Whiteman wrote: > Prove I "believe a multipart/form-data mime cannot be sent along with a > PUT request" using messages I have sent to this list. You are basically > lying for effect at this point. I never said that, took pains to explain > that I am not saying that, gave examples utterly to the contrary... yet you > make stuff up anyway. I'm done with this. I hope you find a more honest way to defend your > proposals in the future. -- S. I'm honestly not sure what it is you are saying anymore. All I know is that so far you're opposed to populating a super global like $_POST or $_FILES with data from a multipart request that uses the PUT verb rather than POST, based on this statement you made early on in the thread: > If you're PUTing such POSTful content-types for any reason other than > storing the entire resource, you're doing HTTP wrong. Here, you are clearly implying that the content-type is somehow associated with POST and not PUT and that one should never attempt to do anything other than store the entirety of the enclosed entity upon receiving a PUT request. Otherwise we're violating the HTTP specification. This can be clearly inferred from these words. The intent is to store the entity, yes, but what is so bad about allowing people to process information from that entity before hand? Certainly that is the entire point of PHP, no? You receive some HTTP request through PHP so that you can somehow do some pre-processing on it before serving up the response. Otherwise you'd just have your webserver deal with it if it was considered a static asset. I certainly have no ill intentions. I'm neither a liar nor have I brought your ethics into question during this discussion. I assume that people have the best of intentions until they prove otherwise. So I would greatly appreciate it if you refrained from doing so yourself and began to assume that we all have the best of intentions here. If your argument isn't that one should NOT send multipart/form-data content-type along with a PUT request, or that PHP should not attempt to populate the parts of the request in super globals, than what is it? Please help me to understand your opposition to this proposal so that we can reach some consensus about its validity. Certainly we can either learn to be civilized in our technical discussion or we can refrain from participating in it. Making this person isn't going to benefit the PHP community in any way. Lastly, I would like to say that I sincerely appreciate your time and contributions to this discussion and I consider them valuable regardless of whether or not I fully agree with you, personally. I only wish to come away from this discussion with what is in the best interest of the community at large and not my own individual interests. I hope that's clear and alleviates any misconceptions of my intent to aspire for personal gain. --047d7bf0d0f6898d560507389319--