On Wed, 1 May 2024 12:40:52 GMT, robert engels <d...@openjdk.org> wrote:

> OutputStream sendResponseHeadersChunked(int code);
> OutputStream sendResponseHeadersFixed(int code,long length);

I still think that these methods should either return `void` or be renamed, 
though I have been struggling to find a name that exactly convey what they 
do... `getOutputStreamChunked` and `getOutputStreamFixed` come to mind, but are 
not great either. Maybe the lesser of the two evil would be to return `void`.

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

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

Reply via email to