W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2011

hixie: multipart/form-data MIME type needs to include the boundary (whatwg r5938)

From: poot <cvsmail@w3.org>
Date: Thu, 03 Mar 2011 20:35:20 -0500
To: public-html-diffs@w3.org
Message-Id: <E1PvJvM-0007SW-6l@jay.w3.org>
hixie: multipart/form-data MIME type needs to include the boundary
(whatwg r5938)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4778&r2=1.4779&f=h
http://html5.org/tools/web-apps-tracker?from=5937&to=5938

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4778
retrieving revision 1.4779
diff -u -d -r1.4778 -r1.4779
--- Overview.html	4 Mar 2011 01:14:36 -0000	1.4778
+++ Overview.html	4 Mar 2011 01:33:06 -0000	1.4779
@@ -38541,7 +38541,11 @@
 
        <dt>If <var title="">enctype</var> is <code title="attr-fs-enctype-formdata"><a href="#attr-fs-enctype-formdata">multipart/form-data</a></code></dt>
 
-       <dd>Let <var title="">MIME type</var> be "<code title="">multipart/form-data</code>".</dd>
+       <dd>Let <var title="">MIME type</var> be the concatenation of
+       the string "<code title="">multipart/form-data;</code>", a
+       U+0020 SPACE character, and the <a href="#multipart-form-data-boundary-string"><code title="">multipart/form-data</code> boundary string</a>
+       generated by the <a href="#multipart-form-data-encoding-algorithm"><code title="">multipart/form-data</code> encoding
+       algorithm</a>.</dd>
 
        <dt>If <var title="">enctype</var> is <code title="attr-fs-enctype-text"><a href="#attr-fs-enctype-text">text/plain</a></code></dt>
 
@@ -39075,6 +39079,11 @@
     not get converted to a 7-bit safe encoding as suggested in RFC
     2388).</p>
 
+    <p>The boundary used by the user agent in generating the return
+    value of this algorithm is the <dfn id="multipart-form-data-boundary-string"><code title="">multipart/form-data</code> boundary string</dfn>. (This
+    value is used to generate the MIME type of the form submission
+    payload generated by this algorithm.)</p>
+
    </li>
 
   </ol></div><div class="impl">
Received on Friday, 4 March 2011 01:35:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 March 2011 01:35:22 GMT