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

annevk commented on this pull request.



> @@ -3049,6 +3055,17 @@ in addition to <a>HTTP fetch</a> above.
  to `<code>GET</code>` and <var>request</var>'s <a for=request>body</a>
  to null.
 
+ <li>
+  <p>If <var>request</var>'s <a for=request>body</a> is non-null, then set <var>request</var>'s
+  <a for=request>body</a> to the first part of <a lt=extract for=BodyInit>extracting</a>
+  <var>request</var>'s <a for=request>body</a>'s <a for=body>source</a>.

I'm still a little confused by the new proposed setup. Now body can have a source, but body itself can also be a byte sequence? I'm not sure that makes sense.

-- 
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#pullrequestreview-13293351

Received on Friday, 16 December 2016 08:52:43 UTC