Skip to content

S3Client.head_object is broken #60

@mithrandi

Description

@mithrandi
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions