diff options
Diffstat (limited to 'weed/s3api/s3api_object_handlers_skip.go')
| -rw-r--r-- | weed/s3api/s3api_object_handlers_skip.go | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/weed/s3api/s3api_object_handlers_skip.go b/weed/s3api/s3api_object_handlers_skip.go index 160d02475..0b74a0ec7 100644 --- a/weed/s3api/s3api_object_handlers_skip.go +++ b/weed/s3api/s3api_object_handlers_skip.go @@ -4,7 +4,7 @@ import ( "net/http" ) -// GetObjectAclHandler Put object ACL +// GetObjectAclHandler Get object ACL // https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html func (s3a *S3ApiServer) GetObjectAclHandler(w http.ResponseWriter, r *http.Request) { @@ -19,27 +19,3 @@ func (s3a *S3ApiServer) PutObjectAclHandler(w http.ResponseWriter, r *http.Reque w.WriteHeader(http.StatusNoContent) } - -// PutObjectRetentionHandler Put object Retention -// https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectRetention.html -func (s3a *S3ApiServer) PutObjectRetentionHandler(w http.ResponseWriter, r *http.Request) { - - w.WriteHeader(http.StatusNoContent) - -} - -// PutObjectLegalHoldHandler Put object Legal Hold -// https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLegalHold.html -func (s3a *S3ApiServer) PutObjectLegalHoldHandler(w http.ResponseWriter, r *http.Request) { - - w.WriteHeader(http.StatusNoContent) - -} - -// PutObjectLockConfigurationHandler Put object Lock configuration -// https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLockConfiguration.html -func (s3a *S3ApiServer) PutObjectLockConfigurationHandler(w http.ResponseWriter, r *http.Request) { - - w.WriteHeader(http.StatusNoContent) - -} |
