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

If response['headers'] is empty, then don't update dict. #488

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

glogiotatidis
Copy link
Contributor

Ceph sometime returns

{'status': 200, 'headers': {}, 'reason': '', 'data': ''}

which chokes s3cmd because headers is an empty dictionary.

Ceph sometime returns

{'status': 200, 'headers': {}, 'reason': '', 'data': ''}

which chokes s3cmd because headers is an empty dictionary.
@glogiotatidis
Copy link
Contributor Author

See also deis/deis#3002

mdomsch added a commit that referenced this pull request Mar 5, 2015
If response['headers'] is empty, then don't update dict.
@mdomsch mdomsch merged commit 0ba2f8b into s3tools:master Mar 5, 2015
@mdomsch
Copy link
Contributor

mdomsch commented Mar 5, 2015

We're adding more and more workarounds for faulty 3rd party product implementations of the S3 API. I merged this patch, but would also prefer to see Ceph store and return headers correctly. They gave us a 200 (which to be fair, we ignored), and expected to see headers returned.

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