Re: [whatwg/fetch] Use a ReadableStream with byte source (formerly called ReadableByteStream) for .body (#267)

> On a spec level, we're trying to tackle [whatwg/streams#1121](https://github.com/whatwg/streams/issues/1121) to let the spec infrastructure create readable byte streams.
> 
> The upgrade path from vanilla readable streams to byte readable streams is seamless: before, `getReader({ type: "byob" })` would throw. After implementation, it would work.

Can that been done currently on Chrome ? 
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. 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/267#issuecomment-1057126479
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/267/1057126479@github.com>

Received on Wednesday, 2 March 2022 16:35:02 UTC