Skip to content

Return RackAttack rate limit reset info with 429 responses

Description

Problem: when I reach the rate limit as an API consumer, I don't know how long to wait for before retrying my request because the response headers don't include any rate limit related info.

Goal: knowledgeably handle 429 responses when I fail to respect the API rate limit.

Proposal

Return RateLimit-Reset and other rate limit headers that are returned with 200 responses with 429 responses.

Thank you.

Edited by Michael Kozono