News for hackers. Stuff that matters.
Re:A proposal to restrict sites from accessing a users' loca... by bawolff on Friday June 06, 2025 @03:12AM (#44198492)
> No, a preflight (OPTIONS) request is sent by the browser first prior to sending the request initiated by the application.

Note: preflight is not required for any type of request that browser js was capable of making prior to CORS being introduced. (Except for local network)

So a simple GET or POST does not require OPTIONS, but if you set a header it might require OPTIONS (unless its a header you could set in the pre-cors world)

There are no comments on this comment yet.