akka/akka-http

Support for new HTTP QUERY method

Open

#3.936 aberto em 10 de nov. de 2021

Ver no GitHub
 (2 comments) (5 reactions) (0 assignees)Scala (598 forks)batch import
1 - triagedhelp wantedt:coret:modelt:routing

Métricas do repositório

Stars
 (1.311 stars)
Métricas de merge de PR
 (Mesclagem média 1h 17m) (1 fundiu PR em 30d)

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.

Guia do colaborador