Skip to content

Use a ReadableStream with byte source (formerly called ReadableByteStream) for .body #267

Closed
@tyoshino

Description

@tyoshino

/cc @yutakahirano

ReadableByteStream has been merged into ReadableStream interface. It's time to update the ReadableStream section of the Fetch spec (https://fetch.spec.whatwg.org/#readablestream) to adopt the updated ReadableStream and construct a ReadableStream with the byte handling feature (i.e. getReader() returns a ReadableStreamBYOBReader when a certain option is passed).

In the first step, we don't need to fully use the BYOB responding API but may just call the same enqueue() method.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions