-
Notifications
You must be signed in to change notification settings - Fork 209
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
Fetch shouldn't be different from CF workers #182
Comments
Cloudflare behaves like a reverse proxy, but Undici is not a reverse proxy, it's an HTTP client. I'm hoping we can get Cloudflare's actual |
Hey! 👋 Thanks for raising this and apologies for the delayed response. Unfortunately, Cloudflare's |
Hey! 👋 This issue should be fixed in Miniflare 3, which is powered by the open-source Workers runtime |
There are differences in URL parsing and other aspects of
fetch
in CF workers and the specification. As of 2022-02-20, miniflare is using the standards-compliantundici
implementation, not the CF implementation. We should switch to the CF version of fetch to improve DX (it's hard to debug issues that only happen in production and aren't reproducible locally).See examples in cloudflare/cloudflare-docs#3578 (issue for documenting those differences, so developers can learn about those).
The text was updated successfully, but these errors were encountered: