On Thu, 26 Jun 2025 10:48:56 GMT, Darragh Clarke <dcla...@openjdk.org> wrote:

> Currently if a request has set Expect-Continue and receives a non 100 
> response the `responseMessage` wouldn't be set.
> 
> This PR sets `responseMessage`, it also updates `getResponseMessage` to check 
> if the message has already been set. This should match the way that 
> `responseCode` is currently handled.
> 
> I also added a test to cover some possible responses.

This pull request has now been integrated.

Changeset: 43cfd80c
Author:    Darragh Clarke <dcla...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/43cfd80c1c0493f2f50ffd75461ca75a002e0127
Stats:     205 lines in 3 files changed: 205 ins; 0 del; 0 mod

8352502: Response message is null if expect 100 assertion fails with non 100

Reviewed-by: dfuchs

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

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

Reply via email to