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

2018-10-05 Thread Chris Hegarty
On 04/10/18 17:09, Michael McMahon wrote: Could I get the following fix reviewed please? http://cr.openjdk.java.net/~michaelm/8211420/webrev.1/index.html Looks good. Trivially, can you update the copyright year in the test before pushing. -Chris

Re: HttpClient Headers

2018-10-05 Thread Michael McMahon
Hi Thomas, Yes, I just looked at RFC7231 (section 5.5.2) and while there are security implications of usage of the 'Referer' header, the HTTP client library does not have the relevant context to decide whether it should be set or not. My view is that this is the responsibility of the calling c