Skip to content

Implement Request/Response .bytes() method #3256

Description

@bakkot

See whatwg/fetch#1732.

Tests at web-platform-tests/wpt#46198.

The above spec PR adds a bytes() method to get a Uint8Array to Body, instead of requiring users to get an ArrayBuffer with arrayBuffer() and then wrap it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions