JDK 11 | JDK 17 | JDK 20 |
---|---|---|
11.0.25Fixed | 17.0.13Fixed | 20 b17Fixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
When the HttpClient receives a response with 102 or 103 it simply returns that response to the caller and considers the exchange done. This leaves the caller in a bind as it can't receive the final 200 response. A minimal fix (backportable) would be to ignore the 102 or 103 response and wait for the final 200 response. For the mainline we should probably add a new no-op method with an empty default body to the BodyHandler interface to give the caller a chance to intercept the 1xx response.
|