Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to Add Checksum Options to statObject() request. #37

Open
zicklag opened this issue Apr 8, 2024 · 2 comments
Open

Ability to Add Checksum Options to statObject() request. #37

zicklag opened this issue Apr 8, 2024 · 2 comments

Comments

@zicklag
Copy link

zicklag commented Apr 8, 2024

I'm needing to supply the x-amz-checksum-mode header as a part of the statObject() request for my use-case, but I'm not allowed to supply it.

Maybe we could allow arbitrary options to be optionally passed in?

const stat = await s3client.statObject(obj.key, {
    options: {
      'x-amz-checksum-mode': 'ENABLED'
    }
})
@bradenmacdonald
Copy link
Owner

@zicklag Thanks for the suggestion. I'm sorry for the slow reply. I am planning to implement it at some point, but can't provide an ETA. In the meantime PRs are welcome if you or anyone else wants to take a stab at this.

@zicklag
Copy link
Author

zicklag commented May 1, 2024

No problem on the delay! I ended up using Amazon's s3 client, so there's no pressing need from me on this.

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

No branches or pull requests

2 participants