Re: Fluent API: Retries for specific HTTP status codes

2023-11-13 Thread Oleg Kalnichevski
On 13/11/2023 10:06, Konrad Windszus wrote: On 13. Nov 2023, at 09:43, Oleg Kalnichevski wrote: The response body processing takes place outside the protocol handling chain and there is nothing we can do about it. IIRC this isn’t the case with https://hc.apache.org/httpcomponents-client-

Re: Fluent API: Retries for specific HTTP status codes

2023-11-13 Thread Konrad Windszus
> On 13. Nov 2023, at 09:43, Oleg Kalnichevski wrote: > > The response body processing takes place outside the protocol handling chain > and there is nothing we can do about it. IIRC this isn’t the case with https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apa

Re: Fluent API: Retries for specific HTTP status codes

2023-11-13 Thread Oleg Kalnichevski
On 10/11/2023 15:31, Konrad Windszus wrote: HI, I am using the Fluent API with HttpClient 4.5 like this: Executor.newInstance(myClient).execute(myRequest).handleResponse(myResponseHandler) [1] Although “myClient" is setup with the default HttpRequestRetryHandler this isn’t triggered when myRe

Fluent API: Retries for specific HTTP status codes

2023-11-10 Thread Konrad Windszus
HI, I am using the Fluent API with HttpClient 4.5 like this: Executor.newInstance(myClient).execute(myRequest).handleResponse(myResponseHandler) [1] Although “myClient" is setup with the default HttpRequestRetryHandler this isn’t triggered when myResponseHandler throws an IOException on an idem