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
So, I went through documentation and I made this test application, to see if the CORSMiddleware even works. Well, apparently it doesn't work at all, the headers are not being sent and the OPTIONS request still returns 405.
Is it just me misunderstanding something and if so, what exactly? If it's not just me, then I think something is broken here.
I would really appreciate some TIP on that, since I rewrote one of my API wrappers to starlette and it doesn't really work, because of cors ;-;
So, I went through documentation and I made this test application, to see if the CORSMiddleware even works. Well, apparently it doesn't work at all, the headers are not being sent and the OPTIONS request still returns 405.
Is it just me misunderstanding something and if so, what exactly? If it's not just me, then I think something is broken here.
I would really appreciate some TIP on that, since I rewrote one of my API wrappers to starlette and it doesn't really work, because of cors ;-;
My application code
Here's results of the request to root:
![Postman_e6qkuwYQR2](https://user-images.githubusercontent.com/51153795/73184297-a6755180-4135-11ea-8bae-3a666431d5eb.png)
![image](https://user-images.githubusercontent.com/51153795/73184431-d4f32c80-4135-11ea-91ac-33b85f22f542.png)
The text was updated successfully, but these errors were encountered: