On Wed, 1 May 2024 13:13:44 GMT, Bernd <d...@openjdk.org> wrote: > I agree that the sendResponse(NoContent) methods are good. > > I don’t think the “Headers” is particular clear - maybe “OS > startChunkedResponse(int)” (but only if it actually encodes it chunked) and > “OS startResponse(int status, long length)” instead?
Those are workable able - especially since sendResponseHeadersxxxxx doesn't actually send the headers (maybe) for performance reasons (avoid small packets). I might prefer ```OS beginChunkedResponse()``` and ```OS beginFixedResponse()```. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18955#issuecomment-2088462582