apache / apache/pekko-http

support making HTTP client requests using HTTP/2

Open
#484 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
196
Forks
55
Avg merge
4d 52m
Merged PRs (30d)
74

Description

See https://github.com/matsluni/aws-spi-akka-http/pull/226#issuecomment-1943538007 for context.

It appears that `Http().singleRequest(...)` only supports sending HTTP/1.1 requests.

We have samples that use HTTP/2 requests but it might be nice to make it more straightforward.
* https://github.com/apache/incubator-pekko-http/blob/main/docs/src/test/scala/docs/http/scaladsl/Http2ClientApp.scala
* https://github.com/apache/incubator-pekko-http/blob/main/docs/src/test/java/docs/http/javadsl/Http2ClientApp.java

Contributor guide

Open the contributing guide

Research direction

Start at Http().singleRequest(...) and compare its current behavior with the Scala and Java Http2ClientApp samples under docs/src/test. Trace how those examples create HTTP/2 requests and determine the integration point for making the client API support them more directly. Done means HTTP/2 requests work through the intended client path and the samples or related checks demonstrate that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.