You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2023/01/13 10:21:01 UTC

[GitHub] [iceberg] nastra commented on a diff in pull request #6578: Core: Allow retrieving response headers from last request

nastra commented on code in PR #6578:
URL: https://github.com/apache/iceberg/pull/6578#discussion_r1069205611


##########
core/src/main/java/org/apache/iceberg/rest/HTTPClient.java:
##########
@@ -313,6 +319,11 @@ public void close() throws IOException {
     httpClient.close(CloseMode.GRACEFUL);
   }
 
+  @Override
+  public Map<String, String> responseHeaders() {

Review Comment:
   I figured this is probably the easiest way to add response headers here. Alternatively, we could add them to `RESTResponse` but that would require more changes. 



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org