Skip to content

feat(rate-limit): add X-RATE-LIMIT headers for Rack::Attack

Adam Moss requested to merge (removed):feat/rate-limit into master

What does this MR do?

Adds X-RATE-LIMIT headers to 429 Throttled responses from Rack::Attack so well behaved api clients can appropriately suspend and resume their activity.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

See discussion in #41309 (moved)

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#41309 (moved)

Edited by Adam Moss

Merge request reports