Make AWS auth signing find headers correctly #344

Merged
merged 1 commit into from Nov 6, 2012

Conversation

Projects
None yet
2 participants
@nlf
Contributor

nlf commented Oct 15, 2012

The AWS function was using 'content-type' as the header name, which causes access denied errors if the header is actually set as 'Content-Type' since it is an important part of the signing process.

To resolve it, I wrapped the header in a short case-insensitive getter to make sure they are always correctly set for the auth signing.

mikeal added a commit that referenced this pull request Nov 6, 2012

Merge pull request #344 from nathan-lafreniere/master
Make AWS auth signing find headers correctly

@mikeal mikeal merged commit c06c394 into request:master Nov 6, 2012

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