On Thu, 2021-05-06 at 16:18 -0700, Ryan Schmitt wrote:
> Is there a way to configure the client to _not_ include a Host header
> in
> HTTP/2 requests? Currently, my client is sending a Host header in
> addition
> to the relevant HTTP/2 pseudo-headers (i.e. :scheme and :authority),
> and it
> seems to be screwing up AWS request signing.

Hi Ryan

The standard request interceptor never generates a `Host` header for
HTTP/2 request messages 

https://github.com/apache/httpcomponents-core/blob/master/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/protocol/H2RequestTargetHost.java#L57

Can there be a custom request interceptor in the request execution pipeline 
causing the issue?

cheers

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to