On Tue, 23 Sep 2025 16:15:41 GMT, Josiah Noel <[email protected]> wrote:

> > we should include as part of this fix, some symbolic constants to represent 
> > the special (and counter-intuitive) length values of 0 and -1 for 
> > sendResponseHeaders
> 
> I mean I like this too and would appreciate that as well, but it seems a bit 
> unrelated to the current change.
> 
> > This method must be called prior to calling {@link #getResponseBody()}.
> 
> Hm? I do this all the time though. (call `getResponseBody` that is)

I just suggested it because I was planning to include it with the fix. But, I'm 
happy to file a separate issue for it, and fix it myself.

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

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

Reply via email to