We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5831f7d commit cfc763eCopy full SHA for cfc763e
1 file changed
src/iceberg/catalog/rest/http_client.cc
@@ -73,8 +73,8 @@ Result<cpr::Header> BuildHeaders(
73
const std::unordered_map<std::string, std::string>& request_headers,
74
const std::unordered_map<std::string, std::string>& default_headers,
75
auth::AuthSession& session) {
76
- std::unordered_map<std::string, std::string> headers(request_headers);
77
- for (const auto& [key, val] : default_headers) {
+ std::unordered_map<std::string, std::string> headers(default_headers);
+ for (const auto& [key, val] : request_headers) {
78
headers.emplace(key, val);
79
}
80
ICEBERG_RETURN_UNEXPECTED(session.Authenticate(headers));
0 commit comments