Re: [whatwg/fetch] Give all bodies a stream (#1177)

@annevk commented on this pull request.



>  
-     <li><p>If <var>body</var> is non-null, then 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>body</var>'s <a for=body>source</a>.
+      <p class=note>Implementations are encouraged to avoid teeing <var>request</var>'s
+      <a for=request>body</a>'s <a for=body>stream</a> when <var>request</var>'s
+      <a for=request>body</a>'s <a for=body>source</a> is null as only a single body is needed in
+      that case. That is, when <var>request</var>'s <a for=request>body</a>'s <a for=body>source</a>

Maybe s/That is/e.g.,/ as we are getting more such examples, such as 421.

-- 
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/1177#pullrequestreview-595302281

Received on Monday, 22 February 2021 12:34:35 UTC