Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Response.text and Response.json should return Promises #10

Closed
ckknight opened this issue Jan 26, 2017 · 0 comments
Closed

Response.text and Response.json should return Promises #10

ckknight opened this issue Jan 26, 2017 · 0 comments

Comments

@ckknight
Copy link
Contributor

As per https://developer.mozilla.org/en-US/docs/Web/API/Body, .arrayBuffer(), .blob(), .formData(), .json(), and .text() all return Promises, as the body has not been consumed before the invocation of one of those methods.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant