Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastAPI is lying in response to OPTIONS #6

Open
nerdstrike opened this issue Jun 8, 2022 · 0 comments
Open

FastAPI is lying in response to OPTIONS #6

nerdstrike opened this issue Jun 8, 2022 · 0 comments

Comments

@nerdstrike
Copy link
Collaborator

When the browser elects to do a pre-flight check and calls OPTIONS on a route, it receives the full HTTP verb list: DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT. Clearly our routes are not supporting PATCH or many of the others. Seems a bit fishy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant