nseaSeb

nseaSeb

RFC 10008 - HTTP QUERY method: any plans for Plug/Cowboy support?

The IETF published RFC 10008 in June 2026, standardizing a new HTTP method: QUERY. It’s meant to fill the gap between GET (safe/idempotent, but no defined body semantics) and POST (body support, but no safety guarantee) — useful for complex read-only searches with structured filter payloads. A few other ecosystems already have open discussions/issues about supporting it:

  • Spring Framework: open issue requesting `RequestMethod.QUERY`
  • Jakarta Servlet: open issue, with a Tomcat PR in progress
  • Fetch/WHATWG: fetch(url, { method: 'QUERY', body })

It already works at the JS level I couldn’t find any discussion about QUERY support in Cowboy or Plug. Has anyone looked into this, or is it too early to be worth tracking? Curious whether this is something the community sees value in, especially combined with hypermedia-style APIs (HATEOAS/JSON:API) where a QUERY could return both search results and the relevant action links in one request.

RFC:

Most Liked

LostKobrakai

LostKobrakai

As far as I know HTTP methods can be arbitrary. E.g. webdav does use additional methods beyond the http defined ones. So I’d expect the webservers like bandit or cowboy not needing to change. Those PRs were about making phoenix and plug adjust for the layers of behaviour they have on top of http, which are dependant on certain methods like when to parse the http body or router macros.

I think the change taking more time won’t be bare support, but actual usage of the new method by tools and libraries.

nseaSeb

nseaSeb

Thanks Kevin, I hadn’t seen those! Good to know it’s already being worked on.

Where Next?

Popular in Discussions Top

matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
jswny
I would like to better understand what the advantages/disadvantages of umbrella applications are compared to structuring your app as as s...
New
andre1sk
A big advantage to Elixir is all the distributed goodness but for many applications running on multiple nodes having integrated Etcd, Zoo...
New
arpan
Hello everyone :wave: Today I am very excited to announce a project that I have been working on for almost 3 months now. The project is...
New
AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
ricklove
I was just introduced to Elixir and Phoenix. I was told about the 2 million websocket test that was done 2 years ago. From my research, t...
New
IVR
Hi all, I’ve seen a number of related threads in the past, but I’d still be very curious to hear an up-to-date opinion on this topic. I...
New
ben-pr-p
In general I’ve been sticking to this community style guide GitHub - christopheradams/elixir_style_guide: A community driven style guide ...
New
wmnnd
The Go vs Elixir thread got me thinking: Would it be too hard to implement a simple mechanism for creating Go-style static app binaries f...
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42158 114
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New

We're in Beta

About us Mission Statement