Skill Wiki v0.1.0
fact @community/fact-http-method-semantics

Http Method Semantics

RFC 9110 §9 defines HTTP method properties: GET (read; safe + idempotent + cacheable). HEAD (read metadata only; safe + idempotent + cacheable).…

Skill
@community
Domain
api-design
Version
1.0.0
Quality
4.0
Edges
7 out · 12 in
Tokens
395/928/1579
$ prime install @community/fact-http-method-semantics

Projection

Always in _index.xml · the agent never has to ask for this.

HttpMethodSemantics [fact] v1.0.0

RFC 9110 (HTTP Semantics, June 2022) defines normative properties for each HTTP method: SAFE (no side effects), IDEMPOTENT (multiple identical requests have the same effect as one), CACHEABLE (response may be cached). GET and HEAD are safe + idempotent + cacheable; PUT and DELETE are idempotent (not safe); POST is none of the above by default; PATCH is none.

RFC 9110 §9 defines HTTP method properties: GET (read; safe + idempotent + cacheable). HEAD (read metadata only; safe + idempotent + cacheable). POST (process payload; not safe, not idempotent unless made so via Idempotency-Key, cacheable only if response includes Cache-Control). PUT (replace target; idempotent, not safe, not cacheable by default). DELETE (remove target; idempotent, not safe, not cacheable). PATCH (RFC 5789 — partial update; not idempotent unless designed to be, not safe, not cacheable). OPTIONS (CORS preflight + capability discovery; safe + idempotent). Status codes: 1xx informational, 2xx success, 3xx redirect, 4xx client error, 5xx server error. 200 (OK), 201 (Created — for POST that produces a resource; Location header points to it), 204 (No Content — for DELETE/PUT success without body), 301/308 (permanent redirect), 302/307 (temporary redirect), 400 (validation), 401 (auth missing), 403 (auth forbidden), 404 (not found), 409 (conflict), 412 (precondition failed — for ETag-based concurrency), 422 (semantic validation), 429 (rate limited; include Retry-After), 500 (internal), 502/503/504 (gateway / unavailable / timeout).

Source

prime-system/examples/frontend-design/primes/compiled/@community/fact-http-method-semantics/atom.yaml

Compiled at 2026-05-07