A DESCRIPTION OF THE PROBLEM :
See <https://github.com/greenbytes/java-http-1xx-tests>.
HttpClient treats HTTP 1xx response messages as final, instead of waiting for a message with status code >= 200.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
git clone git@github.com:greenbytes/java-http-1xx-tests.git
mvn clean install -Dtest=JavaNetHttpHttpClientTests
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Tests should pass.
ACTUAL -
Tests fail with the informational response handled as final (FWIW, HTTPURLConnection has the same bug, reported in 2016: https://bugs.openjdk.org/browse/JDK-8170305)
FREQUENCY : always