forked from JakeChampion/fetch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ArrayBuffer can now be consumed through
blob()
/text()
Before, when a Request or Response was initialized with an ArrayBuffer or TypedArray, that data was only accessible through `arrayBuffer()` method, and if it was initialized with DataView, it wasn't accessible at all. Now, regardless of the original type of body, the accessors `blob()`, `arrayBuffer()`, and `text()` always work.
- Loading branch information
Showing
2 changed files
with
110 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters