-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix unsigned headers error #29
Conversation
Can we create a teat that covers this error? All the tests pass, maybe because we are not testing against aws? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great changes. I believe this shall fix #28, indeed 👏🏻
Regarding testing this change, I believe we need to add a step to verify that the the host header has indeed been added by the signing process in this one: https://github.com/grafana/k6-jslib-aws/blob/main/tests/internal/new_signature.js#LL80C4-L91C15
PS: also while we're at it, we could rename the tests/internal/new_signature.js
file to signature.js
. The new_signature naming is a leftover of the signature code's rewrite.
…e a host header once signed
Proposal to fix #28