twuebi commented on code in PR #637:
URL: https://github.com/apache/iceberg-go/pull/637#discussion_r2577007466


##########
catalog/rest/rest.go:
##########
@@ -237,6 +237,10 @@ func (s *sessionTransport) RoundTrip(r *http.Request) 
(*http.Response, error) {
                        return nil, err
                }
 
+               // Set the x-amz-content-sha256 header before signing.
+               // This header is required for AWS SigV4 signature verification.
+               r.Header.Set("x-amz-content-sha256", payloadHash)

Review Comment:
   We should only set this header when sigv4 auth is configured



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