s3 api add not implemented response for PutBucketVersioning

This commit is contained in:
Konstantin Lebedev authored and Chris Lu committed 2023-11-13 06:22:23 -08:00
1 parent 7f6152f130
commit 5e41ab1370
2 files changed
+7

No files matched your search

+1
View File
@@ -224,6 +224,7 @@ func (s3a *S3ApiServer) registerRouter(router *mux.Router) {
// GetBucketVersioning
bucket.Methods("GET").HandlerFunc(track(s3a.iam.Auth(s3a.cb.Limit(s3a.GetBucketVersioningHandler, ACTION_READ)), "GET")).Queries("versioning", "")
bucket.Methods("PUT").HandlerFunc(track(s3a.iam.Auth(s3a.cb.Limit(s3a.PutBucketVersioningHandler, ACTION_WRITE)), "PUT")).Queries("versioning", "")
// ListObjectsV2
bucket.Methods("GET").HandlerFunc(track(s3a.iam.Auth(s3a.cb.Limit(s3a.ListObjectsV2Handler, ACTION_LIST)), "LIST")).Queries("list-type", "2")