akka / akka/akka-http

Support for new HTTP QUERY method

Open
#3,936 2 comments 5 reactions 0 assignees View on GitHub
1 - triaged help wanted t:core t:model t:routing
Dominant language
Scala
Stars
1.4k
Forks
584
Avg merge
14h 33m
Merged PRs (30d)
24

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

Open the contributing guide

Research direction

Monitor the linked HTTP safe-method-with-body draft and compare QUERY support in other servers such as NGINX and Caddy. Then inspect akka-http-core and the routing DSL, keeping the HTTP method distinct from the URI Query component; done means the project has an agreed implementation scope once the standard and ecosystem support are sufficiently settled.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.