Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78804 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21446 invoked from network); 6 Nov 2014 10:57:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2014 10:57:28 -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.175 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.212.175 mail-wi0-f175.google.com Received: from [209.85.212.175] ([209.85.212.175:46923] helo=mail-wi0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/E0-28384-5145B545 for ; Thu, 06 Nov 2014 05:57:25 -0500 Received: by mail-wi0-f175.google.com with SMTP id ex7so1076545wid.8 for ; Thu, 06 Nov 2014 02:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XvZZmjBLySpHv/fYRo5qHrDwwMtkjwl4AEROofne7Ew=; b=QT4ZUq5bBcfMZHtu9XvVl9llQIFdbuOuBaQ3Hbj1KuqYSH4W7VFelXuhl1McMrSkp3 DsV3NRP+v5Amitm+oR8UP9PCAHhbb36jhljyJvnWcIhtgundqHloeqE7sCtlk7KihcIW bFgrdlWuyABn7ElFXnqoUcwFtDcS1nikNEKzCSvE8ycybrwp0go3qAyReFPs4rxt0a6h BWYhXwCpklpeOeZReMIUBiKoeHickJuMOySOLY9ffc9JZG90uFO3LKzw+LxNc3+NzOM+ gWW15YQyyugR90n+pLxcnPlpW3MXdNJ94VhAbyhcx4UhOrE/p2435g1fGo3SDbSP2vqy HEAA== MIME-Version: 1.0 X-Received: by 10.180.74.201 with SMTP id w9mr39310741wiv.17.1415271441926; Thu, 06 Nov 2014 02:57:21 -0800 (PST) Received: by 10.216.123.4 with HTTP; Thu, 6 Nov 2014 02:57:21 -0800 (PST) In-Reply-To: References: <1DDB6E05-3143-4A74-8B13-AF85222579BA@ajf.me> <468730E8-4C38-49A3-A61A-59E107313D79@ajf.me> <9FB8B541-A040-4C0E-8884-A1EA06B3C266@php.net> Date: Thu, 6 Nov 2014 05:57:21 -0500 Message-ID: To: Sanford Whiteman Cc: Will Fitch , Andrea Faulds , Patrick ALLAERT , PHP Internals Content-Type: multipart/alternative; boundary=f46d043c7f728e905a05072e8f03 Subject: Re: [PHP-DEV] New Standardized HTTP Interface From: theanomaly.is@gmail.com (Sherif Ramadan) --f46d043c7f728e905a05072e8f03 Content-Type: text/plain; charset=UTF-8 On Thu, Nov 6, 2014 at 4:32 AM, Sanford Whiteman wrote: > > > > First of all, RFC 1867 is not a standard. It's an experimental protocol > > definition. > > Oh nonsense. You know very well that RFC 1867 conformance is an > industry standard for file uploading When 2388 says "originally set > out in [RFC1867] and subsequently incorporated into [HTML40]" it is > not treating 1867 as some fringe document. Non-HTML uploaders > (Flash/Java/Silverlight/cURL/all of them) use RFC 1867 as their design > spec, not as some wacky experiment. > http://lmgtfy.com/?q=rfc+1867+file+upload+support I know that RFC 1867 clearly states it is not a standard. "This memo defines an Experimental Protocol for the Internet community. This memo does not specify an Internet standard of any kind." [1] Also, you seem to be quoting out of context with the intention that the reader will not try to seek out said context and simply assume your supporting argument is sound and well-rounded. It is not. The standard you are referring to [RFC 2388] only mentions the non-standard [RFC 1867] in its introduction to state where the definition of multipart form data was derived in these applications. This does not constitute RFC 1867 as a standard. Yes, HTML form data is where the need for multipart form data was originally derived. As we know, client UAs implementing forms typically either restrict the method to either GET, or in the case of constructing multipart/form-data MIME, POST. However, as you mentioned, it has since spread to be implemented in many other applications (outside of the scope of HTML) such as in the case of FDFs. I understand all of this and I get why you're making a strong connection between POST and multipart/form-data mime. The part I'm not getting is why you believe a multipart/form-data mime cannot be sent along with a PUT request. The two things are independent of one another as I see it. One is a media type header and describes the enclosed entity type (i.e. multipart/form-data or application/x-json or whatever the content type may be) and the other is an intent of request verb that describes the user's intention in making the request (i.e. POST/PUT). [1] https://www.ietf.org/rfc/rfc2388.txt --f46d043c7f728e905a05072e8f03--