def retry.status

bend-kit-http@0.38.5.0 · http.bend:4523

import bend-kit-http@0.38.5.0/http.bend as Http
import Base

4523# Statuses a later try may clear.
4524def retry.status(+s: U32) -> Bool:
4525  Bool.or(Bool.or(U32.is_eq(s, 408), U32.is_eq(s, 429)),
4526    Bool.or(Bool.or(U32.is_eq(s, 500), U32.is_eq(s, 502)), Bool.or(U32.is_eq(s, 503), U32.is_eq(s, 504))))

Uses (4)

Used by (2)