We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf58894 commit 74cae1bCopy full SHA for 74cae1b
core/src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java
@@ -15,7 +15,7 @@
15
import java.io.IOException;
16
import java.net.CookieManager;
17
import java.net.CookiePolicy;
18
-import java.util.Collections;
+import java.util.Arrays;
19
import java.util.Map;
20
import java.util.concurrent.TimeUnit;
21
import java.util.logging.Level;
@@ -133,7 +133,7 @@ protected OkHttpClient configureHttpClient() {
133
.allEnabledCipherSuites()
134
.build();
135
136
- builder.connectionSpecs(Collections.singletonList(spec));
+ builder.connectionSpecs(Arrays.asList(spec, ConnectionSpec.CLEARTEXT));
137
138
return builder.build();
139
}
0 commit comments