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

It turned out that there was code elsewhere that was manually adding a Host
header, which the client was including like any other request header.

On Fri, May 7, 2021 at 3:26 AM Oleg Kalnichevski <[email protected]> wrote:

> 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