RFR: 8211420: com.sun.net.httpserver.HttpServer returns Content-length header for 204 response code

Daniel Fuchs daniel.fuchs at oracle.com
Thu Oct 4 16:44:49 UTC 2018


Hi Michael,

Impl:

  213         boolean noContentLengthHeader = false; // must not send 
Content-length is set

did you mean "... if set"?

Otherwise looks OK.

best regards,

-- daniel

On 04/10/2018 17:09, Michael McMahon wrote:
> Could I get the following fix reviewed please?
> 
> http://cr.openjdk.java.net/~michaelm/8211420/webrev.1/index.html
> 
> Thanks,
> Michael



More information about the net-dev mailing list