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

Custom limit handling #4

Closed
yaronius opened this issue Feb 25, 2021 · 1 comment · Fixed by #5
Closed

Custom limit handling #4

yaronius opened this issue Feb 25, 2021 · 1 comment · Fixed by #5

Comments

@yaronius
Copy link
Contributor

So far this middleware doesn't allow for custom limit handling like changing the response body and code, additional logging etc. Some other tools like https://github.com/didip/tollbooth have this feature. I think it would be nice to add it here. I can come up with a PR if the idea doesn't sound bad.

P.S. And thanks for the great work on Chi!

@yaronius
Copy link
Contributor Author

yaronius commented Mar 1, 2021

Hi @pkieltyka, could you review this, please?

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

Successfully merging a pull request may close this issue.

1 participant