boto / s3transfer

Amazon S3 Transfer Manager for Python
Apache License 2.0
209 stars 133 forks source link

fix ExpectedBucketOwner argument mapping in head_object request durin… #233

Closed pierre-muller closed 2 years ago

pierre-muller commented 2 years ago

This PR fixes an issue during copy operation on head_object: the ExpectedBucketOwner is mapped onto itself, when ExpectedSourceBucketOwner should be used instead. A complete fix would be to add support of ExpectedSourceBucketOwner, but this PR will solve issue #232 in the meantime.

closes #232

pierre-muller commented 2 years ago

This PR can be closed in favor of PR #234 which provides a more complete fix of the issue, by adding support for the ExpectedSourceBucketOwner argument.