def retry.status

bend-kit-http@0.38.2.0 · http.bend:4519

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

4519# Statuses a later try may clear.
4520def retry.status(+s: U32) -> Bool:
4521  Bool.or(Bool.or(U32.is_eq(s, 408), U32.is_eq(s, 429)),
4522    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)