From 611fe1e4b5790a7a8034c34754366965faf36073 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Thu, 19 Jul 2012 11:34:51 +0200 Subject: [PATCH] Enable preemptive authentication to avoid double send of files in uploading --- AndroidManifest.xml | 2 +- src/eu/alefzero/webdav/WebdavClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 7f30c52228..dc9338d074 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,7 +18,7 @@ --> + android:versionName="0.1.167B" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/src/eu/alefzero/webdav/WebdavClient.java b/src/eu/alefzero/webdav/WebdavClient.java index 44b6e6b51d..449cfffeb4 100644 --- a/src/eu/alefzero/webdav/WebdavClient.java +++ b/src/eu/alefzero/webdav/WebdavClient.java @@ -97,7 +97,7 @@ public class WebdavClient extends HttpClient { } public void setCredentials(String username, String password) { - //getParams().setAuthenticationPreemptive(true); + getParams().setAuthenticationPreemptive(true); getState().setCredentials(AuthScope.ANY, getCredentials(username, password)); }