Re: Preemptive Basic auth with Apache HttpClient 5.2

2023-07-14 Thread D'Ascola, Giovanni
+, D'Ascola, Giovanni wrote: > I did, but what I tried didn’t work. I’ve put the code in my original > email. > I ended up manually adding the Authorization header to the request in > the same interceptor. > It works, but it’s not very nice, I’d rather let the framew

Re: Preemptive Basic auth with Apache HttpClient 5.2

2023-07-13 Thread D'Ascola, Giovanni
July 2023 at 18:29 To: HttpClient User Discussion Subject: Re: Preemptive Basic auth with Apache HttpClient 5.2 On Thu, 2023-07-13 at 17:02 +, D'Ascola, Giovanni wrote: > I did look at the examples, but the Preemptive Basic Auth > one<https://eur02.safelinks.protection.outlook.com/?url

Re: Preemptive Basic auth with Apache HttpClient 5.2

2023-07-13 Thread D'Ascola, Giovanni
17:03 To: HttpClient User Discussion Subject: Re: Preemptive Basic auth with Apache HttpClient 5.2 On Thu, 2023-07-13 at 15:27 +, D'Ascola, Giovanni wrote: > Is there a way to implement preemptive basic authentication with > Apache HttpClient 5.2 using a HttpRequestInterceptor similar t

Preemptive Basic auth with Apache HttpClient 5.2

2023-07-13 Thread D'Ascola, Giovanni
Is there a way to implement preemptive basic authentication with Apache HttpClient 5.2 using a HttpRequestInterceptor similar to how it's done here (accepted response) for Apache HttpClient