IETF Publishes RFC 10008 Introducing HTTP QUERY Method for Structured Searches
The IETF published RFC 10008 in June 2026, formally introducing a new HTTP method called QUERY designed for read requests that require a structured request body. Developers have long relied on POST for search endpoints with complex filters and parameters, even though POST implies potential side effects and lacks safe or idempotent semantics. GET, while semantically correct for reads, cannot reliably carry a request body and forces query data into URLs, creating length and privacy concerns. The new QUERY method combines the best of both: it supports a request body like POST while remaining safe, idempotent, and cacheable like GET. Caches must use both the URI and request body as the cache key, and servers are required to reject QUERY requests that omit a Content-Type header.
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