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

Support route rules per HTTP verb #2668

Open
1 task
Barbapapazes opened this issue Aug 18, 2024 · 1 comment
Open
1 task

Support route rules per HTTP verb #2668

Barbapapazes opened this issue Aug 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Barbapapazes
Copy link
Member

Describe the feature

Hello,

Actually, a route rule apply to a pattern but having it per http verb could be useful, especially for rate limiting.

Imagine the route GET /me, I do not need to rate limit it but the route PATCH /me will send an email to the user so I need to rate limit it.

Additional information

  • Would you be willing to help implement this feature?
@pi0
Copy link
Member

pi0 commented Aug 18, 2024

coming in nitro v3 (since new rou3 library used for route rule matching natively supports verbs. radix3 in v2 cannot)

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

No branches or pull requests

2 participants