Skip to content
This repository was archived by the owner on Feb 14, 2020. It is now read-only.

Commit e8e402d

Browse files
committed
Merge pull request #18 from ParsePlatform/grantland.http
Fix HttpURLConnectionClient
2 parents 814b132 + 94e13be commit e8e402d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/src/main/java/com/parse/internal/signpost/basic/HttpURLConnectionClient.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.parse.internal.signpost.basic;
22

3-
import java.io.IOException;
43
import java.lang.reflect.Method;
54
import java.net.HttpURLConnection;
65
import java.net.URL;
@@ -28,7 +27,7 @@ public static HttpURLConnectionClient create() {
2827
final Method okUrlFactoryOpen = okUrlFactoryClass.getMethod("open", URL.class);
2928
return new HttpURLConnectionClient(true, okUrlFactory, okUrlFactoryOpen);
3029
} catch (Exception e) {
31-
return new HttpURLConnectionClient(true, null, null);
30+
return new HttpURLConnectionClient(false, null, null);
3231
}
3332
}
3433

0 commit comments

Comments
 (0)