Skip to main content

http_code_is_quota

Function http_code_is_quota 

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

Whether an HTTP status code denotes a quota / rate-limit condition.

429 Too Many Requests (RESOURCE_EXHAUSTED) and 503 Service Unavailable (model overload / “high demand”) both warrant quota-style backoff, matching the harness’s own retry guidance.