Skip to content

Commit

Permalink
Construct client url with scheme if specified always (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuarte47 authored Dec 4, 2024
1 parent 4790bc7 commit 7d18911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http_client_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ static std::pair<duckdb_httplib_openssl::Client, std::string> 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;
Expand Down

0 comments on commit 7d18911

Please sign in to comment.