-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
11, 17, 18, 19, 20
-
generic
-
generic
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
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
- duplicates
-
JDK-8292044 HttpClient doesn't handle 102 or 103 properly
- Closed