Skip to content

Commit 8a6591b

Browse files
author
Florian Kaiser
committed
https flag is not mirrored from Url() to BaseUrl
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.
1 parent 79d0b6a commit 8a6591b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/request.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ BaseUrl::BaseUrl(std::string host, bool https, std::string region)
162162
return;
163163
}
164164

165+
this->https = url.https;
165166
this->host = url.host;
166167
this->port = url.port;
167168

0 commit comments

Comments
 (0)