Hacker News new | ask | show | jobs
by orf 1635 days ago
Except CORS policies can be dynamic, depending on the request context.
1 comments

It doesn't seem impossible that the static file could have an indicator for "send an OPTIONS in this case". 95% of CORS setups don't need to look at the request beyond the origin requesting it (and I'd wager that almost all CORS-enabled APIs just blindly allow everything).