On Thu, 2023-08-10 at 22:40 +0300, Petar Tahchiev wrote:
> Hmm,
>
> I tried now setting the Host header:
>
>
> httpGet.setHeader("Host", "localhost");
>
> This is wrong. You should not be doing that. You should let HttpClient generate the Host header when appropriate. HttpClient will also automatically take care of SNI for you. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
