You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
CloudFlare Workers don't implement a variety of fields in the fetch options dict. The ones I know about are credentials, referrer, referrerPolicy, and mode. Here's a minimal example:
This example runs in cloudworker but fails in the CloudFlare worker itself, with an error like
Error: The 'mode' field on 'RequestInitializerDict' is not implemented.
at doFetch (worker.js:7:23)
at worker.js:2:21
Usually this happens when I'm being lazy and copying a fetch() from the V8 inspector — I don't actually need the fields for anything. But we should probably copy CF's behavior here.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
CloudFlare Workers don't implement a variety of fields in the
fetch
options dict. The ones I know about arecredentials
,referrer
,referrerPolicy
, andmode
. Here's a minimal example:This example runs in cloudworker but fails in the CloudFlare worker itself, with an error like
Usually this happens when I'm being lazy and copying a
fetch()
from the V8 inspector — I don't actually need the fields for anything. But we should probably copy CF's behavior here.The text was updated successfully, but these errors were encountered: