- From: James M Snell <notifications@github.com>
- Date: Wed, 23 Sep 2026 09:38:35 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 September 2026 16:38:39 UTC
jasnell left a comment (whatwg/fetch#1592)
If the `maxBytes` is not going to be on the reader methods, then we'll need it to be in the init options bags for `Request` and `Response` as not every use here flows through an actual `fetch(...)` call.
```js
const resp = new Response(stream, { maxBytes: 100 });
```
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1592#issuecomment-5798750752
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/issues/1592/5798750752@github.com>
Received on Wednesday, 23 September 2026 16:38:39 UTC