mirror of https://github.com/apache/jclouds.git
set non-interactive
git-svn-id: http://jclouds.googlecode.com/svn/trunk@114 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
6839d6c40f
commit
9785a88d1e
|
@ -140,6 +140,8 @@ public class JavaUrlHttpFutureCommandClient implements HttpFutureCommandClient {
|
|||
URL url = new URL(target, request.getUri());
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setDoOutput(true);
|
||||
connection.setAllowUserInteraction(false);
|
||||
connection.setInstanceFollowRedirects(false);
|
||||
connection.setRequestMethod(request.getMethod());
|
||||
for (String header : request.getHeaders().keySet()) {
|
||||
for (String value : request.getHeaders().get(header))
|
||||
|
|
Loading…
Reference in New Issue