mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Merge pull request #26 from owncloud/fix_issue_482
Fixed issue 482 in android project
This commit is contained in:
commit
1651d1a555
@ -153,13 +153,13 @@ public class RemoteOperationResult implements Serializable {
|
|||||||
Header current;
|
Header current;
|
||||||
for (int i=0; i<headers.length; i++) {
|
for (int i=0; i<headers.length; i++) {
|
||||||
current = headers[i];
|
current = headers[i];
|
||||||
if ("Location".equals(current.getName())) {
|
if ("location".equals(current.getName().toLowerCase())) {
|
||||||
mRedirectedLocation = current.getValue();
|
mRedirectedLocation = current.getValue();
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
if ("WWW-Authenticate".equals(current.getName())) {
|
if ("www-authenticate".equals(current.getName().toLowerCase())) {
|
||||||
mAuthenticate = current.getValue();
|
mAuthenticate = current.getValue();
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user