When using a bot if a rate limit is triggered there is no programmatic way I could found to know how many time I should wait to retry and continue with the task. Would it be possible to add a Retry-After header in this cases with the amount of time the bot should wait before retrying the request?
Additionally, it would be nice if the response status would indicate that the operation wasn't completed successfully not using the 200 OK status code. Semantically the most appropriate one would probably be 429 Too many requests, which based on the RFC 6585 may use the Retry-After header.