Skip to content

AWS: Add documentation for x-amz-content-sha256 header #447

Open

Description

@msmoiz

Thanks for creating this! It would be great to see documentation for the x-amz-content-sha256 header in the AWS signer docs. It seems this field needs to be set manually for an empty body (and perhaps in other cases) and this is not evident from the main example in the README or elsewhere. My original assumption was that this header would be set by the signer, and it took some time to figure out that I needed to set it myself.

Activity

  1. Xuanwo commented on Jun 27, 2024

    @Xuanwo
    Member

    Thanks for raising this issue.

    We require users to calculate and set the x-amz-content-sha256 to prevent reading the entire body for each request signature. This should be clearly stated in the documentation.

    Would you like to initiate a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions