-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
I have a fetch
with CORS, with some custom HTTP headers. Due to that, preflight OPTION fetch is required before the actual fetch.
In the return of that preflight, I have set the Access-Control-Max-Age (https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS). However, in the subsequence fetch, preflight OPTION fetch are still happening. In fact, no fetch happens without preflight.
I have checked the answers from http://stackoverflow.com/questions/23543719/cors-access-control-max-age-is-ignored, seems not related to my case.
Is it possible that within fetch
module itself, the preflight fetch is always invoked regardless the Access-Control-Max-Age?
Metadata
Metadata
Assignees
Labels
No labels