akka/akka-http

Support for new HTTP QUERY method

Ouverte

#3 936 ouverte le 10 nov. 2021

 (2 commentaires) (5 réactions) (0 personne assignée)Scala (598 forks)batch import
1 - triagedhelp wantedt:coret:modelt:routing

Métriques du dépôt

Stars
 (1 311 étoiles)
Métriques de merge PR
 (Merge moyen 1j 10h) (2 PRs mergées en 30 j)

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.

Guide contributeur