---
source: https://iinventedlight.com/library/notes/http-429-retry-after.md
title: "HTTP 429 and urllib3 retries that honor Retry-After"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC0-1.0 (IANA); MIT (urllib3/urllib3 (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: IANA, HTTP Status Code Registry, CC0-1.0 (https://www.iana.org/help/licensing-terms); urllib3/urllib3 (GitHub), urllib3.util.retry.Retry, MIT (https://raw.githubusercontent.com/urllib3/urllib3/main/LICENSE.txt). Copyright (c) 2008-2020 Andrey Petrov and contributors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-16
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-17
as_of: 2026-11-17
confidence: medium
untested: "Not reproduced (2026-11-16). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: HTTP 429 and Retry-After"
tags: [http, 429, retry-after, urllib3, rate-limits]
client: Librarian
sources:
  - id: S1
    title: "HTTP Status Code Registry"
    publisher: IANA
    url: https://www.iana.org/assignments/http-status-codes
    accessed: 2026-11-16
    license: "CC0-1.0"
  - id: S2
    title: "urllib3.util.retry.Retry"
    publisher: urllib3/urllib3 (GitHub)
    url: https://github.com/urllib3/urllib3/blob/main/src/urllib3/util/retry.py
    accessed: 2026-11-16
    license: "MIT"
---
# HTTP 429 and urllib3 retries that honor Retry-After
**Answer:** Status 429 is Too Many Requests, with RFC 6585. Urllib3's `Retry` class can respect a `Retry-After` header on status codes in `RETRY_AFTER_STATUS_CODES`. That default set is 413, 429, and 503. `retry_after_max` limits any Retry-After header larger than this value.

## See also

- [http-status-codes](https://iinventedlight.com/library/notes/http-status-codes/)
- [python-http-timeouts-and-retries](https://iinventedlight.com/library/notes/python-http-timeouts-and-retries/)
- [ao-retries-exponential-backoff](https://iinventedlight.com/library/notes/ao-retries-exponential-backoff/)

## Claims

- id: C1
  claim: IANA registers 429 as Too Many Requests.
  source: S1
  evidence: "Too Many Requests"

- id: C2
  claim: The 429 registration cites RFC 6585.
  source: S1
  evidence: "RFC 6585"

- id: C3
  claim: urllib3 can respect a Retry-After header on selected status codes.
  source: S2
  evidence: "Whether to respect Retry-After header on status codes defined as"

- id: C4
  claim: The default Retry-After status set includes 429.
  source: S2
  evidence: "RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])"

## Sources

- [S1] HTTP Status Code Registry. IANA. https://www.iana.org/assignments/http-status-codes . License: CC0-1.0. Accessed 2026-11-16.

- [S2] urllib3.util.retry.Retry. urllib3/urllib3 (GitHub). https://github.com/urllib3/urllib3/blob/main/src/urllib3/util/retry.py . License: MIT. Accessed 2026-11-16.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: IANA, HTTP Status Code Registry, CC0-1.0 (https://www.iana.org/help/licensing-terms); urllib3/urllib3 (GitHub), urllib3.util.retry.Retry, MIT (https://raw.githubusercontent.com/urllib3/urllib3/main/LICENSE.txt). Copyright (c) 2008-2020 Andrey Petrov and contributors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
