HTTP Retry Policy Evaluation Engine

Interactive Static Decision Tree & Backoff Calculator

Description canRetry()
ZONE 1: INCOMING REQUEST & CONTEXT Select a route & toggle execution flags ZONE 2: DECISION EVALUATION SPINE Static evaluation logic & short-circuit checks ZONE 3: POLICY OUTCOME Final decision verdict & backoff math getMe GET /me • [safe-read] listPosts GET /posts • [never] createPublication POST /publications • [idempotent-write] createPost POST /posts • [never]
REQUEST CONTEXT TOGGLES
Response Status
1. LOOKUP ROUTE METADATA Fetch declared retryClass from static table PASS 2. IS RETRY CLASS 'SAFE-READ'? GET/HEAD requests without side-effects YES 3. PROFILE-CREATE / IDEMPOTENT-WRITE? Check if route supports tokenized retries YES 4. NON-BLANK IDEMPOTENCY KEY? Validates header presence for write safety YES 5. TRANSIENT RESPONSE STATUS? Status in [408, 429, 500, 502, 503, 504] YES 6. IS ERROR A REDIRECTERROR? Redirect errors must handled by client NO ⊗ STOP: NEVER ⊗ STOP: NO KEY ⊗ STOP: STATUS ⊗ STOP: REDIRECT YES NO YES NO YES NO YES NO NO YES EVALUATION VERDICT WILL RETRY DECISION TRACE AUDIT
PLAIN-ENGLISH REASON
COMPUTED BACKOFF DELAY 250 ms BACKOFF FORMULA 250ms × 2^n (capped @ 30s) ± 10% randomized jitter applied Retry-After Header: Not Present