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

restore: Accept http code 202 and 200 as valid response #1621

Merged
merged 1 commit into from Feb 9, 2022

Conversation

vadmeste
Copy link
Member

@vadmeste vadmeste commented Feb 9, 2022

202 to indicate that the server initiated the restore operation
200 to indicate that the server already initiated the restore operatn

But both can be considered a valid response if we don't want to break
the existing API.

https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html

202 to indicate that the server initiated the restore operation
200 to indicate that the server already initiated the restore operatn

But both can be considered a valid response if we don't want to break
the existing API.
@harshavardhana harshavardhana merged commit 4f92000 into minio:master Feb 9, 2022
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.

None yet

3 participants