X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/017f9429c8820ae4c9cc3bf96abe21e97a5f2864..a0efedc99d0421554b8f8e93ef631e54a4cb05cd:/src/eu/alefzero/webdav/WebdavClient.java diff --git a/src/eu/alefzero/webdav/WebdavClient.java b/src/eu/alefzero/webdav/WebdavClient.java index c0eba542..51209280 100644 --- a/src/eu/alefzero/webdav/WebdavClient.java +++ b/src/eu/alefzero/webdav/WebdavClient.java @@ -43,10 +43,11 @@ import org.apache.http.params.CoreProtocolPNames; import com.owncloud.android.Log_OC; import com.owncloud.android.MainApp; - import com.owncloud.android.network.BearerAuthScheme; import com.owncloud.android.network.BearerCredentials; + + import android.net.Uri; public class WebdavClient extends HttpClient { @@ -168,7 +169,7 @@ public class WebdavClient extends HttpClient { try { method.setFollowRedirects(mFollowRedirects); } catch (Exception e) { - if (mFollowRedirects) Log_OC.d(TAG, "setFollowRedirects failed for " + method.getName() + " method, custom redirection will be used"); + //if (mFollowRedirects) Log_OC.d(TAG, "setFollowRedirects failed for " + method.getName() + " method, custom redirection will be used if needed"); customRedirectionNeeded = mFollowRedirects; } if (mSsoSessionCookie != null && mSsoSessionCookie.length() > 0) {