1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00
This commit is contained in:
Jesse Vincent 2011-02-13 19:47:30 -05:00
parent 4e48366243
commit 7cbbd72fac
4 changed files with 24 additions and 25 deletions

View File

@ -539,8 +539,7 @@ public class WebDavStore extends Store {
info.requiredAuthType = AUTH_TYPE_BASIC; info.requiredAuthType = AUTH_TYPE_BASIC;
} else if ((info.statusCode >= 200 && info.statusCode < 300) || // Success } else if ((info.statusCode >= 200 && info.statusCode < 300) || // Success
(info.statusCode >= 300 && info.statusCode < 400) || // Redirect (info.statusCode >= 300 && info.statusCode < 400) || // Redirect
(info.statusCode == 440)) // Unauthorized (info.statusCode == 440)) { // Unauthorized
{
// We will handle all 3 situations the same. First we take an educated // We will handle all 3 situations the same. First we take an educated
// guess at where the authorization DLL is located. If this is this // guess at where the authorization DLL is located. If this is this
// doesn't work, then we'll use the redirection URL for OWA login given // doesn't work, then we'll use the redirection URL for OWA login given