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 to add success_action_status to policy #549

Merged
merged 1 commit into from
Nov 15, 2016

Conversation

montoias
Copy link
Contributor

@montoias montoias commented Nov 10, 2016

Allow policy to have success_action_status

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html

Accepts the values 200, 201, or 204 (default).

If the value is set to 200 or 204, Amazon S3 returns an empty document with a 200 or 204 status code.

If the value is set to 201, Amazon S3 returns an XML document with a 201 status code.

If the value is not set or if it is set to an invalid value, Amazon S3 returns an empty document with a 204 status code.

Type: String

@harshavardhana harshavardhana changed the title [RFC] Allow to add success_action_status to policy Allow to add success_action_status to policy Nov 15, 2016
@harshavardhana harshavardhana merged commit 9e35cc5 into minio:master Nov 15, 2016
@montoias
Copy link
Contributor Author

Thank you @harshavardhana

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