Skip to content

Include Retry-After with 429 response to rate-limited API requests? #1172

@philbudne

Description

@philbudne

Now that we can generate 429 responses for rate-limited requests, a further enhancement would be to add a Retry-After` header that indicates when to retry. The api-client library could use that information to (optionally) delay (sleep) before retrying instead of throwing an exception (and having people home-roll their own retry policies)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions