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 bug in s3Test Server #87

Merged
merged 1 commit into from
May 28, 2015
Merged

Fix bug in s3Test Server #87

merged 1 commit into from
May 28, 2015

Conversation

st3v
Copy link

@st3v st3v commented May 28, 2015

The AWS CLI expects the ETag header to be set to the MD5 of the uploaded file. The code currently does not do that for object PUT requests, as a result of which the AWS CLI fails when uploading to the test server.

This fix adds the ETag header (within double quotes) to the PUT response from the test server. The double-quotes are necessary as the AWS CLI strips them out before performing an MD5 comparison of the uploaded file.

…the AWS

 CLI expects the ETag header to be set to the MD5 of the uploaded file.

 The double-quotes are necessary as the AWS CLI strips them out before
 performing an MD5 comparison of the uploaded file.

Signed-off-by: Stev Witzel <switzel@pivotal.io>
boyand pushed a commit that referenced this pull request May 28, 2015
@boyand boyand merged commit 760aa2f into goamz:master May 28, 2015
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