Re: Not able to handle early response for large payload in a POST request

2021-09-26 Thread Nitish Chitta
Hi Micheal, We have tried using expect continue as well. But that doesn't seem to work. As mentioned by Oleg, we need to upgrade to HttpCore 5.1 to get this API working right? Thanks, Nitish On Fri, Sep 24, 2021 at 11:52 PM Michael Osipov wrote: > Am 2021-09-23 um 10:42 schrieb Oleg

Re: Not able to handle early response for large payload in a POST request

2021-09-24 Thread Michael Osipov
Am 2021-09-23 um 10:42 schrieb Oleg Kalnichevski: On 9/23/2021 9:21 AM, Nitish Chitta wrote: When I try to hit the server with the wrong credentials for basic authentication, I am getting a *socket-write exception* which should ideally return a 401 status code. The server is closing the

Re: Not able to handle early response for large payload in a POST request

2021-09-23 Thread Nitish Chitta
Thanks for the response, Oleg! Regards, Nitish On Thu, Sep 23, 2021 at 2:12 PM Oleg Kalnichevski wrote: > > > On 9/23/2021 9:21 AM, Nitish Chitta wrote: > > When I try to hit the server with the wrong credentials for basic > > authentication, I am getting a *socket-write exception* which

Re: Not able to handle early response for large payload in a POST request

2021-09-23 Thread Oleg Kalnichevski
On 9/23/2021 9:21 AM, Nitish Chitta wrote: When I try to hit the server with the wrong credentials for basic authentication, I am getting a *socket-write exception* which should ideally return a 401 status code. The server is closing the connection immediately after it finds the credentials

Not able to handle early response for large payload in a POST request

2021-09-23 Thread Nitish Chitta
When I try to hit the server with the wrong credentials for basic authentication, I am getting a *socket-write exception* which should ideally return a 401 status code. The server is closing the connection immediately after it finds the credentials incorrect while the client is still sending the