[html5] r5938 - [giow] (2) multipart/form-data MIME type needs to include the boundary Fixing ht [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Mar 3 17:33:02 PST 2011


Author: ianh
Date: 2011-03-03 17:33:00 -0800 (Thu, 03 Mar 2011)
New Revision: 5938

Modified:
   complete.html
   index
   source
Log:
[giow] (2) multipart/form-data MIME type needs to include the boundary
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12006

Modified: complete.html
===================================================================
--- complete.html	2011-03-04 01:14:30 UTC (rev 5937)
+++ complete.html	2011-03-04 01:33:00 UTC (rev 5938)
@@ -48742,7 +48742,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>
 
@@ -49280,6 +49284,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>

Modified: index
===================================================================
--- index	2011-03-04 01:14:30 UTC (rev 5937)
+++ index	2011-03-04 01:33:00 UTC (rev 5938)
@@ -48725,7 +48725,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>
 
@@ -49263,6 +49267,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>

Modified: source
===================================================================
--- source	2011-03-04 01:14:30 UTC (rev 5937)
+++ source	2011-03-04 01:33:00 UTC (rev 5938)
@@ -54721,8 +54721,13 @@
 
        <dt>If <var title="">enctype</var> is <code title="attr-fs-enctype-formdata">multipart/form-data</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 <span><code
+       title="">multipart/form-data</code> boundary string</span>
+       generated by the <span><code
+       title="">multipart/form-data</code> encoding
+       algorithm</span>.</dd>
 
        <dt>If <var title="">enctype</var> is <code title="attr-fs-enctype-text">text/plain</code></dt>
 
@@ -55414,6 +55419,12 @@
     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><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>




More information about the Commit-Watchers mailing list