You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
There are also PRs to do the same for Blob and PushMessageData, which copy relevant parts of the Body interface:
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 witharrayBuffer()
and then wrap it.There are also PRs to do the same for Blob and PushMessageData, which copy relevant parts of the Body interface:
I don't think Bun has PushMessageData but it does have Blob.
The text was updated successfully, but these errors were encountered: