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

Jayshua
I recently came across the javascript library htmx. It reminded me a lot of liveview so I thought the community here might be interested....
New
sashaafm
I’m trying to evaluate the best combo/stack for a BEAM Web app. Right now I’m exploring Yaws a bit, after having dealt with Phoenix for a...
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
tmbb
This is a post to discuss the new Phoenix LiveView functionality. From Chris’s talk, it appears that they generate all HTML on the serve...
342 18243 126
New
AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recentl...
New
mbenatti
Following https://github.com/tbrand/which_is_the_fastest |> https://raw.githubusercontent.com/tbrand/which_is_the_fastest/master/imgs...
New
hazardfn
I suppose this question is effectively hackney vs. ibrowse but we are at a point in our project where we have to make a choice between th...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29603 241
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 43487 311
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
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
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
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
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54120 245
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement