We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
By the sigv4 documentation this is a mandatory header to be generated.
I can't seem to find a way of creating it. Is this a bug?
The text was updated successfully, but these errors were encountered:
Which documentation? It's not mandatory for sigv4 signing alone – but some services use it (eg, S3). Most services don't though.
Sorry, something went wrong.
Yes, I didn't explain myself correctly... but could there be an optional parameter to expose this header?
Expose how? Sorry, can you explain what you're trying to do?
You can set this header yourself and aws4fetch should continue to work fine (in fact, it will use it for the signing and save having to calculate it)
If you want it yourself you can just do something like:
import { AwsV4Signer } from 'aws4fetch'; const signer = new AwsV4Signer({ url: '...', body: '...', ... }); const bodyHash = await signer.hexBodyHash();
No branches or pull requests
By the sigv4 documentation this is a mandatory header to be generated.
I can't seem to find a way of creating it. Is this a bug?
The text was updated successfully, but these errors were encountered: