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

Allow status code 200 for removeBucketPolicy #2047

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tiran133
Copy link

@tiran133 tiran133 commented Jan 12, 2025

I'm using Hetzner Object Storage, and they return a status code of 200 on successfully deleting bucket policy.

This pull request fixes the issue of getting an error even through the policy was successfully deleted.

The error handling was introduced here
#1609

Kind regards

@klauspost
Copy link
Contributor

@tiran133
Copy link
Author

I guess. Sorry, didn't read the specs. I opened a ticket with Hetzner now see what they say.

I know is the AWS specs but does it really make a difference?

@klauspost
Copy link
Contributor

We generally don't add workarounds for third party S3 compatibility. We would end up with an unmaintainable mess.

When the spec is unclear or AWS behaves differently than the spec (yes, that happens more often than you think), we can make exceptions. Keeping it open in case my colleagues don't agree on this.

@tiran133
Copy link
Author

Fair enough. I wait for Hetzner''s answer for now. Thank you!

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