userver
userver copied to clipboard
Use 'Retry-After' header in HTTP client
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