RFR: 8245095: Implementation of JEP 408: Simple Web Server

Julia Boes jboes at openjdk.java.net
Wed Sep 15 08:28:44 UTC 2021


On Wed, 15 Sep 2021 07:49:38 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

>> Or maybe - which would be more accurate:
>> 
>> 
>> with the given {@code statusCode} and the body bytes' length (or {@code -1} if the body is empty).
>
> I agree with your second suggestion. It's better not to refer to the 'Content-Length' header at all.

Indeed more accurate, I'll update to the second suggestion.

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

PR: https://git.openjdk.java.net/jdk/pull/5505



More information about the build-dev mailing list