RFR: 8292044: HttpClient doesn't handle 102 or 103 properly [v13]

Jaikiran Pai jpai at openjdk.org
Mon Oct 3 05:44:36 UTC 2022


On Sat, 1 Oct 2022 12:47:20 GMT, Julian Reschke <duke at openjdk.org> wrote:

> Tested in https://github.com/greenbytes/java-http-1xx-tests and found to be working as advertised. Thanks!

Thank you Julian for running those tests.

> > We probably should consider how a future API change would work, which allows an application to receive the intermediate responses and make sure this change doesn't cause any problems for that. Though, I don't see an issue currently. Regarding a new API, maybe a method could be added to HttpResponse.BodyHandler to supply intermediate responses?
> 
> It would be great if a new ticket would be opened for tracking this enhancement request.

That is being tracked in https://bugs.openjdk.org/browse/JDK-8294196

-------------

PR: https://git.openjdk.org/jdk/pull/10169


More information about the net-dev mailing list