HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5938

SVNBugCommentTime (UTC)
593812006[Gecko] [Internet Explorer] [Opera] [Webkit] multipart/form-data MIME type needs to include the boundary2011-03-04 01:33
Index: source
===================================================================
--- source	(revision 5937)
+++ source	(revision 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>

|