shouldRetryOnStatus

var shouldRetryOnStatus: (HttpStatusCode) -> Boolean

Determines whether a response status code should trigger a retry. Defaults to { it.value >= 500 } (any 5xx is retryable). Only applied in the inline DSL path; BYO policy users must configure this inside their own policy.