Skip to content

Export native fetch from @web-std/fetch #52

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

Open
Gozala opened this issue Feb 28, 2022 · 1 comment
Open

Export native fetch from @web-std/fetch #52

Gozala opened this issue Feb 28, 2022 · 1 comment

Comments

@Gozala
Copy link
Contributor

Gozala commented Feb 28, 2022

As per #51 it would be help to use fetch for loading assets in tests across node/browser. Which in turn would be straight forward if we @web-std/fetch could be used in test without having to use alternative code paths across node and web.

@jacob-ebey
Copy link
Contributor

This project, the remix for, and even node-fetch are not as fully spec compliant as undici and I see issues arising in exiting codebases if this isn't a major. Specifically around locking of body streams / cloning behavior.

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

No branches or pull requests

2 participants