okhttp3 uses Interceptors to manage request retries, retries, and the like.
This PR introduces a new RetryInterceptor that will retry any failed request up to MAX_HTTP_RETRIES times. Several tests have been updated to enqueue more failure responses to ensure that the retries are exhausted.
okhttp3
usesInterceptors
to manage request retries, retries, and the like.This PR introduces a new
RetryInterceptor
that will retry any failed request up toMAX_HTTP_RETRIES
times. Several tests have been updated to enqueue more failure responses to ensure that the retries are exhausted.Fixes #33