← Graph

HTTP Method Idempotence

concept 2 connections

Analysis of HTTP verbs through a protocol-thinking lens. GET (read): idempotent — retries are always safe because no side effects change. DELETE: idempotent, but receivers must recognize the already-processed case and return a not-found/gone response the sender knows to treat as success. PUT: idempotent per the spec, but only under the single-sender assumption — concurrent senders can cause lost-update races, requiring optimistic locking. PUT can also be used for creation when senders pick IDs (e.g. UUIDv4) large enough that collisions are effectively impossible. POST: not inherently idempotent — on retry the sender cannot know if the resource was created, so idempotency keys or find-or-create fallbacks are needed.

category
pattern
about
HTTP Method Idempotence concept
Walks through GET, DELETE, PUT, POST under the protocol-thinking lens.
concept HTTP Method Idempotence
related_to
The HTTP-verb analysis is the worked example of protocol thinking in the talk.

Provenance

Read by
4 extractions