Custom responses?
Opened this issue · 3 comments
ecnepsnai commented
Is it possible to change the response to be totally custom (JSON, for example) like it is in redis-throttle?
sethherr commented
👍
Do you want help writing the update? I would happily work on this.
ecnepsnai commented
I use a modified version to accomplish this. You can see the modifications I made here: https://github.com/ecnepsnai/rack-throttle/blob/master/lib/rack/throttle/limiter.rb
artob commented
I will review and merge any pending pull requests this weekend, if you guys want to submit one.