Tryton - Issues

 

Issue8001

Title Raise TOO_MANY_REQUESTS on login RateLimitException
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components trytond
Assigned To ced Keywords review
Reviews 47751002
View: 47751002

Created on 2019-01-16.14:01:50 by ced, last changed by roundup-bot.

Messages
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
New changeset 7c73ae565b76 by Cédric Krier in branch 'default':
Return 429 TOO MANY REQUESTS on RateLimitException
https://hg.tryton.org/trytond/rev/7c73ae565b76
review47751002 updated at https://codereview.tryton.org/47751002/#ps1
msg45984 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-01-16.14:01:50
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.
History
Date User Action Args
2019-02-04 22:20:03roundup-botsetmessages: + msg46727
2019-02-04 22:20:00roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg46726
2019-01-16 14:06:53reviewbotsetnosy: + reviewbot
messages: + msg45985
2019-01-16 14:02:47cedsetstatus: in-progress -> testing
reviews: 47751002
keyword: + review
2019-01-16 14:01:50cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)