Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
xg15
5d ago
0 comments
Save
Share
Interesting. Is this still sent as a "safe" request though or does it trigger a preflight request etc?
0 comments
1 comments · 1 top-level
top
newest
oldest
Sophira
5d ago
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.
j
/
k
navigate · click thread line to collapse