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

Handle headObject 403 response when ListBucket permission is missing #39

Merged
merged 1 commit into from
Jul 11, 2016

Conversation

tobiasweibel
Copy link
Contributor

Basically if an object doesn't exist then S3 headObject returns 404 or 403 depending on whether you have s3:ListBucket permission.

Basically if an object doesn't exist then S3 headObject returns 404 or 403 depending on whether you have s3:ListBucket permission.
@tobiasweibel
Copy link
Contributor Author

@clineamb Can you have a look whether this PR makes sense to you? Basically it handles an error code from S3 when ListBucket permission is missing (upload is still possible in this case).

@clineamb
Copy link
Owner

Ah, sorry, life has been busy for me, so I haven't had a chance to take a look at this yet! I will before the week is out! thanks so much for this PR

@clineamb clineamb merged commit 238b777 into clineamb:master Jul 11, 2016
@clineamb
Copy link
Owner

Found some time just now! Thanks so much for this quick addition! (:

@tobiasweibel tobiasweibel deleted the patch-1 branch July 12, 2016 07:23
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