Skip to content

Conversation

@plusplusjiajia
Copy link
Member

Rationale for this change

The x-amz-content-sha256 header is required for AWS requests. It provides a hash of the request payload. If there is no payload, you must provide the hash of an empty string.

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR! could you provide some context around this change? and perhaps a test

@plusplusjiajia
Copy link
Member Author

plusplusjiajia commented Jan 2, 2026

thanks for the PR! could you provide some context around this change? and perhaps a test

This change is made to align with the behavior of the Java version, can you help check whether the change is reasonable?https://github.com/apache/iceberg/blob/main/aws/src/main/java/org/apache/iceberg/aws/RESTSigV4AuthSession.java#L116

@plusplusjiajia plusplusjiajia force-pushed the fix-sigv4 branch 3 times, most recently from df984c9 to 2b42e66 Compare January 2, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants