-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 - document known differences from the spec #3578
Comments
This sounds related: https://developers.cloudflare.com/workers/platform/compatibility-dates#new-url-parser-implementation, but it's not enabled by default (and not sure if it affects the first |
This is related: cloudflare/miniflare#183 |
Another way in which Undici's |
Hey all, yeah there are a couple of places where the Workers |
Hey @Aprillion! Thanks for reporting this. For context, @jasnell has been leading the charge on identifying and fixing these divergences. As he mentioned, we don't have a specific timeline for getting |
As of 2022-02-20, https://developers.cloudflare.com/workers/runtime-apis/fetch only points to MDN and does not mention any differences from the
fetch
specification.I found 2 issues so far (while working on https://github.com/Aprillion/stampy-ui/commits/master), both worked fine in miniflare (which uses undici), but not after deployment to CF workers:
cache
options in the init parameter are not supported (originally reported in Warning about unsupported fetch options remix-run/remix#2015):Please let me know if these are bugs to be fixed (and if so, where can I report more issues in the future, please), or if these differences happen on purpose and should be documented (if so, I can work on a PR, but let me also know whether to open a sister issue in miniflare to make sure our local dev environment will match all these
fetch
quirks, debugging these differences in production was not ideal TBH)...The text was updated successfully, but these errors were encountered: