userver icon indicating copy to clipboard operation
userver copied to clipboard

Use 'Retry-After' header in HTTP client

Open apolukhin opened this issue 3 years ago • 0 comments
trafficstars

RFC: https://www.rfc-editor.org/rfc/rfc7231#section-7.1.3

'Retry-After', exponential back-off and timeouts should work well together in RequestState::on_retry https://github.com/userver-framework/userver/blob/3d6530feffe23b567389dc6c5607e2c3936f5192/core/src/clients/http/request_state.cpp#L418

apolukhin avatar Oct 25 '22 13:10 apolukhin