-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
http fetch api #7446
Comments
IMHO this is best left to userland. There are a lot of browser APIs node does not implement. |
+1 to leaving this to userland. |
no problem. Closing this. |
Considering the simplicity that |
I want it even more now when we got async & await!!! It goes hand in hand like bread and butter. |
I guess now with async await, node core api's should really have a promise The callback design from the start I think wasn't a great architectural +1 on fetch being baked in. It should be a core JS engine API. (Both DOM On Sun, Nov 13, 2016 at 11:51 AM, Jimmy Karl Roland Wärting <
|
It's not the goal of core's If the browser's fetch API can't be implemented in as an npm module because of some lack in node core, that is something that should be addressed, but there isn't any sign of that yet. |
Now with fetch going mainstream as a browser api. Does it make sense to implement http.fetch method with the same interface to give isomorphic support?
I know there are modules, but doesn't this make sense being bundled as part of http api ?
The text was updated successfully, but these errors were encountered: