Fix for SignatureDoesNotMatch Error in put_bucket_lifecycle
Hello,
I recently upgraded the project from version 0.35 to 0.37, and after the upgrade I encountered a SignatureDoesNotMatch error when calling put_bucket_lifecycle.
Following the suggestions provided by Cursor, I modified the source code to address this issue. After applying the changes, the request now works as expected.
However, since I’m not very familiar with the signature logic, I’m not entirely sure whether my modification is the correct or recommended approach.
I would appreciate it if a maintainer could kindly review my changes and confirm whether it’s appropriate to merge this commit.
Thank you very much for your time and assistance.
<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/durch/rust-s3/435)
<!-- Reviewable:end -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Fixed S3 request header handling to properly maintain required headers during bucket lifecycle operations instead of incorrectly removing them.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
合并状态:未合并 1 条评论