Skip to content

Commit cfc763e

Browse files
authored
Update src/iceberg/catalog/rest/http_client.cc
1 parent 5831f7d commit cfc763e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/iceberg/catalog/rest/http_client.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ Result<cpr::Header> BuildHeaders(
7373
const std::unordered_map<std::string, std::string>& request_headers,
7474
const std::unordered_map<std::string, std::string>& default_headers,
7575
auth::AuthSession& session) {
76-
std::unordered_map<std::string, std::string> headers(request_headers);
77-
for (const auto& [key, val] : default_headers) {
76+
std::unordered_map<std::string, std::string> headers(default_headers);
77+
for (const auto& [key, val] : request_headers) {
7878
headers.emplace(key, val);
7979
}
8080
ICEBERG_RETURN_UNEXPECTED(session.Authenticate(headers));

0 commit comments

Comments
 (0)