API/handler: CopyObject make it behave in accordance with S3 spec. (#2155)

Fixes bugs found while running s3verify tool - fixes #2152
This commit is contained in:
Harshavardhana
2016-07-09 12:13:40 -07:00
committed by Anand Babu (AB) Periasamy
parent 3341fe9b28
commit 5102a5877e
2 changed files with 26 additions and 17 deletions

View File

@@ -265,7 +265,7 @@ var errorCodeResponse = map[APIErrorCode]APIError{
},
ErrPreconditionFailed: {
Code: "PreconditionFailed",
Description: "At least one of the preconditions you specified did not hold.",
Description: "At least one of the pre-conditions you specified did not hold",
HTTPStatusCode: http.StatusPreconditionFailed,
},
ErrRequestTimeTooSkewed: {