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.

19m read timeFrom ietf.org
Post cover image
Table of contents
1.1. Terminology1.2. Notational Conventions

Sort: