- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 21 May 2026 07:02:43 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1862/review/4337570902@github.com>
@annevk approved this pull request.
The _emptyStream_ thing is both correct and annoying.
> +
+ <li><p><a for="ReadableStream">Set up</a> <var>emptyStream</var>.
+
+ <li><p><a for="ReadableStream">Close</a> <var>emptyStream</var>.
+
+ <li><p>Return <var>emptyStream</var>.
+ </ol>
+
+ <li><p>Let <var>stream</var> be <a>this</a>'s <a for=Body>body</a>'s <a for=body>stream</a>.
+
+ <li><p>Let <var>decoder</var> be a new {{TextDecoderStream}} object in <a>this</a>'s
+ <a>relevant realm</a>.
+
+ <li>
+ <p><a data-lt="set up a text decoder stream">Set up</a> <var>decoder</var> with <a
+ for=/>UTF-8</a>.
no newline inside phrasing
> @@ -8300,6 +8301,9 @@ due course.
<dt><code><var>requestOrResponse</var> . <a method for=Body>text</a>()</code>
<dd><p>Returns a promise fulfilled with <var>requestOrResponse</var>'s body as string.
+
+ <dt><code><var>requestOrResponse</var> . <a method for=Body>textStream</a>()</code>
+ <dd><p>Returns a {{ReadableStream}} with <var>requestOrResponse</var>'s body as string chunks.
```suggestion
<dd><p>Returns a {{ReadableStream}} object with <var>requestOrResponse</var>'s body as string chunks.
```
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1862#pullrequestreview-4337570902
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1862/review/4337570902@github.com>
Received on Thursday, 21 May 2026 14:02:47 UTC