From e7950f7b5e7feded5ee18dcf08858ad0ac5a241b Mon Sep 17 00:00:00 2001 From: "burke.davey" Date: Fri, 29 Jun 2012 23:33:38 +0000 Subject: [PATCH] Fix 'Unable to connect' auth errors --- .../com/google/android/apps/chrometophone/AppEngineClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/google/android/apps/chrometophone/AppEngineClient.java b/android/src/com/google/android/apps/chrometophone/AppEngineClient.java index b73b8ba..808afb1 100644 --- a/android/src/com/google/android/apps/chrometophone/AppEngineClient.java +++ b/android/src/com/google/android/apps/chrometophone/AppEngineClient.java @@ -61,7 +61,7 @@ public class AppEngineClient { public HttpResponse makeRequest(String urlPath, List params) throws Exception { HttpResponse res = makeRequestNoRetry(urlPath, params, false); - if (res.getStatusLine().getStatusCode() == 500) { + if (res.getStatusLine().getStatusCode() == 500 || res.getStatusLine().getStatusCode() == 302) { res = makeRequestNoRetry(urlPath, params, true); } return res;