diff --git a/src/http_client_extension.cpp b/src/http_client_extension.cpp index 3453b67..47dab1c 100644 --- a/src/http_client_extension.cpp +++ b/src/http_client_extension.cpp @@ -40,8 +40,8 @@ static std::pair SetupHttpClient(co path = "/"; } - // Construct client url with https if specified - if (scheme == "https") { + // Construct client url with scheme if specified + if (scheme.length() > 0) { client_url = scheme + "://" + domain; } else { client_url = domain;