kbendick commented on a change in pull request #4245:
URL: https://github.com/apache/iceberg/pull/4245#discussion_r816424323
##########
File path: core/src/main/java/org/apache/iceberg/rest/RESTClient.java
##########
@@ -30,6 +30,6 @@
<T> T delete(String path, Class<T> responseType, Consumer<ErrorResponse>
errorHandler);
<T> T post(String path, Object body, Class<T> responseType,
Consumer<ErrorResponse> errorHandler);
<T> T get(String path, Class<T> responseType, Consumer<ErrorResponse>
errorHandler);
- <T> T head(String path, Consumer<ErrorResponse> errorHandler);
+ void head(String path, Consumer<ErrorResponse> errorHandler);
Review comment:
We determined that `HEAD` requests don't return a response. I'm still
open to allowing them to though (as many well tested systems, including S3, do
use a response b ody for HEAD).
--
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]