Re:Developers don't understand CORS (2019)
by xg15 on Sunday June 21, 2026 @09:29AM
(#48618812)
Interesting. Is this still sent as a "safe" request though or does it trigger a preflight request etc?
[ Parent
| on HN ]
If it was one of the requests that would trigger a preflight normally, then yes, it would trigger a preflight. But the code as shown doesn't do that because "multipart/form-data" is one of the allowed MIME types that can bypass these preflights.