pvary commented on code in PR #14398:
URL: https://github.com/apache/iceberg/pull/14398#discussion_r2498104625


##########
core/src/main/java/org/apache/iceberg/rest/HTTPClient.java:
##########
@@ -326,6 +326,13 @@ protected <T extends RESTResponse> T execute(
 
       // Skip parsing the response stream for any successful request not 
expecting a response body
       if (emptyBody(response, responseType)) {
+        if (response.getCode() == HttpStatus.SC_NOT_MODIFIED

Review Comment:
   nit: Maybe leave a comment here what do we detect here, and why we throw



-- 
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]

Reply via email to