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

S3Client.head_object is broken #60

Open
mithrandi opened this issue May 2, 2017 · 0 comments
Open

S3Client.head_object is broken #60

mithrandi opened this issue May 2, 2017 · 0 comments

Comments

@mithrandi
Copy link
Contributor

  File "/home/mithrandi/code/txaws/txaws/s3/client.py", line 495, in <lambda>  
    d.addCallback(lambda (response, body): _to_dict(response.responseHeaders)) 
exceptions.AttributeError: 'Response' object has no attribute 'responseHeaders'

The attribute is named headers, not response_headers. Sadly there is no test coverage at all of this code path, so the test suite doesn't catch this.

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

No branches or pull requests

1 participant