singhpk234 commented on code in PR #13234:
URL: https://github.com/apache/iceberg/pull/13234#discussion_r2129822572
##########
core/src/test/java/org/apache/iceberg/rest/TestHTTPClient.java:
##########
@@ -461,7 +466,8 @@ private static String
addRequestTestCaseAndGetPath(HttpMethod method, Item body,
.withMethod(method.name().toUpperCase(Locale.ROOT))
.withHeader("Authorization", "Bearer " + BEARER_AUTH_TOKEN)
.withHeader(HTTPClient.CLIENT_VERSION_HEADER,
icebergBuildFullVersion)
- .withHeader(HTTPClient.CLIENT_GIT_COMMIT_SHORT_HEADER,
icebergBuildGitCommitShort);
+ .withHeader(HTTPClient.CLIENT_GIT_COMMIT_SHORT_HEADER,
icebergBuildGitCommitShort)
+ .withHeader(USER_AGENT, TEST_USER_AGENT);
Review Comment:
precisely, request level override always wins over the client level override.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]