The IETF proposes a new HTTP QUERY method that enables safe, idempotent queries with request bodies. Unlike GET (limited by URI length) or POST (not guaranteed safe/idempotent), QUERY allows complex queries in the request content while supporting caching, automatic retries, and conditional requests. The specification defines the Accept-Query header for capability discovery, explains how servers can assign URIs to query results via Content-Location and Location headers, and addresses caching considerations where the cache key must incorporate request content and metadata.
Sort: