RFR: 8349670: HttpServer: sending interim responses fails after JDK-7026262 [v21]

Josiah Noel duke at openjdk.org
Fri Oct 10 16:13:12 UTC 2025


On Fri, 10 Oct 2025 16:05:19 GMT, robert engels <duke at openjdk.org> wrote:

> That is invalid. The whole purpose is to enable the client to avoid sending the request body until the 100 Continue is received (i.e all headers validated by the handler).

they're testing the client not the server, but it is a bit strange indeed since the client is already in the process of sending the body.

> Another thing we wanted to test is that the client would ignore 1xx code it does not know how to handle.

You can send 1xx codes today with sendResponseHeaders, the only caveat is that you can't read the InputStream anymore.

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

PR Comment: https://git.openjdk.org/jdk/pull/27069#issuecomment-3390980406


More information about the net-dev mailing list