Skip to content

Respect Retry-After header on 503 responses for RetryClient #1841

Description

@RobertBrunhage

it is generally recommended that on 503, if the server responds with the Retry-After header we should respect that and if it's not present we should default back exponential backoff.

Is this something that coud be considered to be added directly into the RetryClient, so we have that as default behaviour?

I am asking this because we already retrying 503 by default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    next-breaking-releaseIssues that are worth doing but need to wait for a breaking version bumppackage:httptype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions