Skip to content

[already possible] Respect Retry-After HTTP header #414

@nmurf

Description

@nmurf

The Retry-After response header is used to indicate how long a client should wait before sending the next request. It would be great if RetryPolicy took this into account.

Pseudocode:

var serverWaitDuration = getServerWaitDuration(response.Headers.Get("Retry-After"));
var waitDuration = Math.Max(clientWaitDuration.TotalMilliseconds, serverWaitDuration.TotalMilliseconds);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions