- From: Mattias Buelens <notifications@github.com>
- Date: Wed, 02 Mar 2022 08:44:22 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 March 2022 16:44:35 UTC
> Can that be done currently on Chrome ? No. First, the specification needs to be updated, that's what this issue is about. Afterwards, Chrome can implement the spec change and make it available to its users. > I am trying to make `response.body` to be handled as byte stream so I get use `getReader({ type: "byob" })` with the goal to specify `byteLength`, which we want to be 64K steadily. Note that a BYOB reader doesn't *guarantee* that it'll fill your entire 64 KB view on every `read(view)`. That'll need a *new* method on `ReadableStreamBYOBReader`, see https://github.com/whatwg/streams/issues/1143. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/267#issuecomment-1057139386 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/267/1057139386@github.com>
Received on Wednesday, 2 March 2022 16:44:35 UTC