On Wed, 1 May 2024 13:26:39 GMT, robert engels <d...@openjdk.org> wrote:

> I might prefer `OS beginChunkedResponse()` and `OS beginFixedResponse()`.

That's not a bad suggestion (whether startXxxx or beginXxxx). My gripe with `OS 
sendResponseHeadersXxxxx` is that the existing `void sendResponseHeaders` 
returns `void`, and it would look strange for the new look-alike methods to 
suddenly return an `OutputStream`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18955#issuecomment-2088491738

Reply via email to