Skip to content

Commit

Permalink
https flag is not mirrored from Url() to BaseUrl
Browse files Browse the repository at this point in the history
this flag assignement was removed in:
  #111

I don't know if it was removed intentional, but without it
the BaseUrl.https flag only reflects the state of how BaseUrl was
constructed with.
  • Loading branch information
Florian Kaiser committed Jul 12, 2024
1 parent 513a808 commit 8cded87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/request.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ BaseUrl::BaseUrl(std::string host, bool https, std::string region)
return;
}

this->https = url.https;
this->host = url.host;
this->port = url.port;

Expand Down

0 comments on commit 8cded87

Please sign in to comment.