akka/akka-http

Support for new HTTP QUERY method

Open

#3.936 geöffnet am 10. Nov. 2021

Auf GitHub ansehen
 (2 Kommentare) (5 Reaktionen) (0 zugewiesene Personen)Scala (598 Forks)batch import
1 - triagedhelp wantedt:coret:modelt:routing

Repository-Metriken

Stars
 (1.311 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1h 17m) (1 gemergte PR in 30 T)

Beschreibung

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