13 ms·
Something I've recently seen more of is people thinking an issue is a CORS issue when in fact it's just an unhealthy service 500ing on the OPTIONS request. I've
by oplav 6y ago
Something I've recently seen more of is people thinking an issue is a CORS issue when in fact it's just an unhealthy service 500ing on the OPTIONS request. I've seen a couple debugging threads get derailed at the start with "this is a CORS issue" because the first person to open a Chrome console scanned and saw "CORS error" on the failed request (I'm guilty of this myself).
- qwertox 6y agoI had to deal with this issue about a month ago. It was surprising, as I didn't know that it made the OPTIONS call, and I've been working with webservers and HTML/JS for at least a decade.