Re: resumable uploads vs multiple 1xx responses vs Java clients

On 04.11.2024 17:07, Julian Reschke wrote:
> Hi,
> 
> I just updated
> 
>    https://github.com/greenbytes/java-http-1xx-tests
> 
> with tests for this scenario.
> 
> Of the tested Java clients that support 1xx, only one (OkHttp) currently
> fails (and I expect that to be fixed quickly).
> ...

I just went back to these tests and noticed that 
java.net.http.HttpClient indeed fails this test (many 104s), as it 
aborts the request after eight 1xx responses.

One could even consider this a regression compared to 
java.net.HttpURLConnection (as of JDK 20), as that one manages to 
consume all 1xx responses.

Best regards, Julian

Received on Sunday, 8 June 2025 15:08:33 UTC