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 f21a574 commit 339a260Copy full SHA for 339a260
src/main/java/com/arangodb/internal/http/HttpCommunication.java
@@ -290,7 +290,7 @@ private static HttpRequestBase requestWithBody(
290
}
291
292
private String buildBaseUrl(final Host host) {
293
- return (useSsl ? "https://" : "http://") + host.getHost() + ":" + host.getPort();
+ return (useSsl != null && useSsl ? "https://" : "http://") + host.getHost() + ":" + host.getPort();
294
295
296
private static String buildUrl(final String baseUrl, final Request request) throws UnsupportedEncodingException {
0 commit comments