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

Fix all known bugs with PutObject #9

Merged
merged 5 commits into from
Jan 5, 2012
Merged

Conversation

meteficha
Copy link
Collaborator

Hello!

This pull request fixes:

  • Returns errors when errors do occur. I've also fixed DeleteObject but didn't test it. All other commands seem fine on this issue.
  • Put headers on the right place and sign them correctly.

I hope these commits are fine to be reviewed and merged. =)

Cheers!

Previously the AWS S3 response was ignored.  Now we check if the
response was successful or not.
These headers are treated separately by SignedQuery.
It didn't handle cases where three or more consecutive headers
had to be merged.
These headers are sent with the HTTP request but are
ignored when signing the request.  On headers that
start with "x-amz-" should be used when signing.
@aristidb
Copy link
Owner

aristidb commented Jan 5, 2012

And this goes to show the importance of reviewing patches before merging them. The bugs you're fixing are from code that came in from a pull request. :-) So far, the code is looking good.

@aristidb
Copy link
Owner

aristidb commented Jan 5, 2012

OK, looking good. I will fix the remaining bug in the merge function after merging the request.

aristidb added a commit that referenced this pull request Jan 5, 2012
Fix all known bugs with PutObject
@aristidb aristidb merged commit 0f5de4e into aristidb:master Jan 5, 2012
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.

None yet

2 participants