New HTTP QUERY Method (RFC 10008) Enables Safe, Cacheable Requests with Body Support
RFC 10008, published in June 2026, introduces a new HTTP method called QUERY designed to address limitations developers face when handling complex data-retrieval requests. Unlike GET, QUERY allows a structured request body, eliminating issues with URL length limits, sensitive data exposure in query strings, and awkward parameter encoding. Unlike POST, QUERY is defined as safe and idempotent, meaning clients can retry failed requests without risking duplicate side effects, and responses can be cached by browsers and CDNs. Cache implementations key responses on a combination of the request path and a hash of the request body, with major providers like Cloudflare, Akamai, and Fastly already offering support or workarounds. The method also introduces features such as server-side query discovery via the Accept-Query header and optional URI assignment for reusable query definitions.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in