Re: [whatwg/fetch] Uploading a Request made from a ReadableStream body (#425)

yutakahirano commented on this pull request.



> +  <p class="note no-backref"><var>request</var> can be reused with redirects, authentication, and
+  proxy authentication.
+
+ <li>
+  <p>Otherwise, run these substeps:
+
+  <ol>
+   <li><p>Set <var>httpRequest</var> to a copy of <var>request</var> except for its
+   <a for=request>body</a>.
+
+   <li><p>Set <var>httpRequest</var>'s <a for=request>body</a> to <var>request</var>'s
+   <a for=request>body</a>.
+
+   <li><p>Set <var>request</var>'s <a for=request>body</a> to a new <a for=/>body</a> whose
+   <a for=body>stream</a> is null and whose <a for=body>source</a> is <var>httpRequest</var>'s
+   <a for=request>body</a>'s <a for=body>source</a>.

Done.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/425

Received on Monday, 19 December 2016 10:59:14 UTC