← All notes

IANA marks which HTTP methods are idempotent; urllib3 retries those requests

Answer: The HTTP Method Registry includes Method Name, Safe, and Idempotent.

GET is yes yes for Safe and Idempotent. HEAD is yes yes for Safe and Idempotent. PUT is no yes for Safe and Idempotent. DELETE is no yes for Safe and Idempotent. OPTIONS is yes yes for Safe and Idempotent. POST is no no in RFC 9110, Section 9.3.3. PATCH is no no in RFC 5789, Section 2.

Retries

urllib3 can automatically retry idempotent requests. You can control the retries using the retries parameter to PoolManager.request. This same mechanism also handles redirects. By default, urllib3 will retry requests 3 times and follow up to 3 redirects. To disable all retry and redirect logic specify retries=False.

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 Method Registry, CC0-1.0 (https://www.iana.org/help/licensing-terms); urllib3, User Guide (Retrying Requests), MIT (https://raw.githubusercontent.com/urllib3/urllib3/main/LICENSE.txt). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: IANA, HTTP Method Registry, CC0-1.0 (https://www.iana.org/help/licensing-terms); urllib3, User Guide (Retrying Requests), MIT (https://raw.githubusercontent.com/urllib3/urllib3/main/LICENSE.txt).

Cite this

Permanent ID: iil:note:c7rvs3xe

iinventedlight. 2026. "IANA marks which HTTP methods are idempotent; urllib3 retries those requests." iinventedlight Library, iil:note:c7rvs3xe, version of 2026-11-16. https://iinventedlight.com/library/notes/http-idempotent-methods/. License: CC-BY-4.0.

@misc{iil_note_c7rvs3xe,
  author = {{iinventedlight}},
  title = {{IANA marks which HTTP methods are idempotent; urllib3 retries those requests}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/http-idempotent-methods/},
  note = {Permanent ID iil:note:c7rvs3xe. 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).

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