voyagermesh/voyager

Rate limiting return 'Forbidden' (403) instead of 'Too Many Requests' (429)

Opened this issue · 0 comments

It's really confuse for debugging if when I reach the limit of the request per second, get a 'Forbidden' instead of 'Too Many Requests'.

Here is and example in the HAProxy Blog:
https://www.haproxy.com/blog/four-examples-of-haproxy-rate-limiting/

Is there a way to change the http code, other than use a custom-template?