Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
CL tool should retry on 50* server responses #85
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Client does not have to retry on 5xx responses. It should retry 5xx class responses that have Retry-After headers. We attempt to add it to most 503 responses from backend services, such as on hotfixes and unexpected server failures, where the subsequent retries will be balanced to a healthy server.
It should be noted, that this is a feature of the HTTP protocol, not application specific, thus should be handled in HTTP client library.