From 20aaa5eee7a70d40893332b277d038a7eb8bf107 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Wed, 21 May 2014 10:15:19 +0200 Subject: [PATCH] Avoid ignoring important headers --- .../android/lib/common/operations/RemoteOperationResult.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java b/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java index b2422001..e8b0be88 100644 --- a/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java +++ b/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java @@ -155,11 +155,11 @@ public class RemoteOperationResult implements Serializable { current = headers[i]; if ("location".equals(current.getName().toLowerCase())) { mRedirectedLocation = current.getValue(); - break; + continue; } if ("www-authenticate".equals(current.getName().toLowerCase())) { mAuthenticate = current.getValue(); - break; + continue; } } }