You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
actix_cors is always returing 404 on OPTIONS requests #580
Disclaimer: I have looked around for a solution for this and I could not find anyone else having this problem so I might be missing something fundamental.
I could make actix_cors work in my server (actix_web = "4.2.1" , actix_cors = "0.6.2"). No errors are thrown at runtime when starting the application but whenever I make an OPTIONS request to a registered endpoint I keep getting a 404 response.
After several attempts to fix this, I found your reference application (examples/cors) and unfortunately I could also reproduce the problem there. It is unclear what is happening (I could reproduce it both in the browser and with postman). Here are some screenshots:
Activity