RFR [9] 8050983 : Misplaced parentheses in sun.net.www.http.HttpClient break HTTP PUT streaming

Chris Hegarty chris.hegarty at oracle.com
Fri Nov 7 11:44:14 UTC 2014

This is a trivial change to fix a failed previous attempt to prevent all 
HTTP requests, with a streaming body, from automatically being retried, 
by the HttpURLConnection implementation.

The existing implementation only prevents POST requests from being 
automatically retried, it should prevent all, incl PUT.



[1] https://bugs.openjdk.java.net/browse/JDK-8050983

More information about the net-dev mailing list