retryOnServerErrorsIfIdempotent
Retries the HTTP call if the request method is idempotent (i.e., the intended effect on the server of multiple identical requests with that method is the same as the effect for a single such request) and the response status code is in the specified range. Idempotent methods supported by Ktor are: GET
, HEAD
, OPTIONS
, PUT
, DELETE
.