← All notes

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

Claims

Sources

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.

License: CC-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.

Cite this

Permanent ID: iil:note:fkbnat5z

iinventedlight. 2026. "HTTP 429 and urllib3 retries that honor Retry-After." iinventedlight Library, iil:note:fkbnat5z, version of 2026-11-16. https://iinventedlight.com/library/notes/http-429-retry-after/. License: CC-BY-4.0.

@misc{iil_note_fkbnat5z,
  author = {{iinventedlight}},
  title = {{HTTP 429 and urllib3 retries that honor Retry-After}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/http-429-retry-after/},
  note = {Permanent ID iil:note:fkbnat5z. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/http-429-retry-after.md.