-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] Support Web (WHATWG) stream, Blob and Response #1777
Labels
Comments
@hax Cool! Please send us a pull request, we love to merge it! |
I support this, especially if its additive only (i.e. no breaking) |
@fengmk2 have any plan to support this feature? |
Will have a PR for it soon |
@fengmk2 i've done a PR for this i'm open to suggestions for improvement 😉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature
Currently
response.body=
orctx.body=
support buffers, strings and Nodejs streams. I suggest we also add support to Web stream, Blob and Response (currently just fallback to json which break users expectation), maybe also all async iterables, Nodejs already have those APIs in global.This is my workaround, it works but it's better to support them in the core.
Checklist
The text was updated successfully, but these errors were encountered: