akka/akka-http

Support for new HTTP QUERY method

Open

#3,936 opened on Nov 10, 2021

View on GitHub
 (2 comments) (5 reactions) (0 assignees)Scala (1,311 stars) (598 forks)batch import
1 - triagedhelp wantedt:coret:modelt:routing

Description

There is a proposal for a new HTTP method called "QUERY", which looks like it should make it into an RFC relatively quickly since it should be rather uncontroversial:

https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-02.html

We should probably monitor the progress of this document and implement QUERY as soon as other servers have done so (NGINX, Caddy, etc.).

The only thing to be careful about is the clear distinction between QUERY the HTTP method and Query the URI part. The name duplication here is unfortunate. In akka-http-core proper separation is probably a bit easier than in the routing DSL.

Contributor guide