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

Allow idempotent request signing #375

Merged
merged 1 commit into from
Nov 10, 2014
Merged

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Nov 10, 2014

This fixes a bug where request signing is not
idempotent. This is because setting a header
value does not replace the old value, it actually
appends the new value to a list of values associated
with the header name. This causes issue when the
same request is retried, particularly with S3 retries.

This fixes the signature errors we've been seeing in
the integration tests.

cc @kyleknap @danielgtaylor

This fixes a bug where request signing is not
idempotent.  This is because setting a header
value does not replace the old value, it actually
appends the new value to a list of values associated
with the header name.  This causes issue when the
same request is retried, particularly with S3 retries.
@kyleknap
Copy link
Contributor

LGTM 🚢

@jamesls jamesls merged commit 0c2ac22 into boto:develop Nov 10, 2014
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