Raise TOO_MANY_REQUESTS on login RateLimitException
When using trytond HTTP API with auth_required, if there is a RateLimitException raise, it returns a 500. It will be more useful to return a 429 which has better meaning.
This instance will be upgraded to Heptapod 17.9.0rc1 on 2025-03-27 between 17:00 and 18:00 UTC+2
When using trytond HTTP API with auth_required, if there is a RateLimitException raise, it returns a 500. It will be more useful to return a 429 which has better meaning.
assigned to @ced
added trytond type::feature + 1 deleted label
added 1 deleted label and removed 1 deleted label
review47751002 updated at https://codereview.tryton.org/47751002/#ps1
New changeset 7c73ae565b76 by Cédric Krier in branch 'default':
Return 429 TOO MANY REQUESTS on RateLimitException
https://hg.tryton.org/trytond/rev/7c73ae565b76
added 1 deleted label and removed 1 deleted label
closed
New changeset 065cdb6a57f0 by Cédric Krier in branch 'default':
Return 429 TOO MANY REQUESTS on RateLimitException
https://hg.tryton.org/tryton-env/rev/065cdb6a57f0