Skip to main content

http_code_is_retryable

Function http_code_is_retryable 

Source
pub const fn http_code_is_retryable(code: u16) -> bool
Expand description

Whether an HTTP status code denotes a transiently retryable failure.

Rate limits (429) and any server-side 5xx are transient: the harness logs a warning and continues iterating, so a higher-level retry may succeed.