nginx blocks new HTTP QUERY method while Caddy and Traefik pass it through
RFC 10008, which reached Proposed Standard in June 2025, introduces QUERY as a new HTTP method that is safe and idempotent like GET but can carry a request body like POST. A developer tested how major reverse proxies and frameworks handle QUERY requests by setting up a DigitalOcean droplet with FastAPI, Django, nginx 1.24.0, Caddy 2.11.4, and Traefik 3.7.10. Testing revealed that nginx silently rejects QUERY requests rather than forwarding them to the backend, while Caddy and Traefik passed the method through without issue. On the framework side, FastAPI handled QUERY correctly when explicitly configured, but Django's class-based views returned a 405 Method Not Allowed response despite following the same lowercase-dispatch pattern used for GET and POST. The findings highlight that adopting QUERY in production requires verifying compatibility at every layer of the stack, as the RFC itself does not specify how non-compliant intermediaries will behave.
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