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

yutakahirano 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>.
+
+  <p class="note no-backref"><var>request</var>'s <a for=request>body</a>'s <a for=body>source</a>'s
+  nullity has already been checked.
+
+  <p class="note no-backref">The <a lt=extract for=BodyInit>extracting</a> operation cannot throw
+  as it was called for the same <a for=body>source</a> before.

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:10 UTC