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

Feature Request: Limit HTTP methods #273

Open
hhartzer opened this issue Jan 24, 2025 · 0 comments
Open

Feature Request: Limit HTTP methods #273

hhartzer opened this issue Jan 24, 2025 · 0 comments

Comments

@hhartzer
Copy link

Possibly this isn't the best place for it, but I'm using FastAPI and it'd be nice to be able to limit the allowed HTTP methods with hypercorn. This way I could force my application into a readonly state, and when in readonly I only allow GET/HEAD/OPTIONS, perhaps.

Would this make sense for hypercorn?

Thank you!

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