> @@ -280,7 +280,6 @@ protected void writeNothing(HttpURLConnection connection) > { > // HttpUrlConnection strips Content-Length: 0 without > setDoOutput(true) > String method = connection.getRequestMethod(); > if ("POST".equals(method) || "PUT".equals(method)) { > - connection.setFixedLengthStreamingMode(0);
@andrewgaul: I finally got round to mentioning this to @adriancole today and he recalls that this was probably set explicitly to ensure consistent behaviour across JDK types and versions and probably shouldn't be changed - especially to fix a test. He also mentioned that he would try to have a look at this and fix MWS, if the problem turns out to be there. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/502/files#r18075481