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

Host header is a requirement for V4 request signing #264

Merged
merged 3 commits into from
Jan 4, 2016

Conversation

ixmatus
Copy link
Contributor

@ixmatus ixmatus commented Dec 23, 2015

Took a while to track this one down but our S3 URLs were being rejected by AWS because the host header was not being signed! I took a hint from the base function in constructing the rqHeaders request object.

No included tests, I didn't see any tests for this specific functionality, but I did hand test it on our own production software and it fixes the regression.

@brendanhay
Copy link
Owner

Apologies for the late reply - can you add the required lens (%~) re-export to Network.AWS.Prelude on your branch so CI can build?

@ixmatus
Copy link
Contributor Author

ixmatus commented Dec 31, 2015

@brendanhay no worries! I've pushed the added export. If that's a change in another branch you'd prefer me to integrate, I can do that but I didn't see any newer updates to the develop branch.

brendanhay added a commit that referenced this pull request Jan 4, 2016
Host header is a requirement for V4 request signing
@brendanhay brendanhay merged commit 4de27e1 into brendanhay:develop Jan 4, 2016
@brendanhay
Copy link
Owner

Thanks!

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