mirror of
https://github.com/minio/minio.git
synced 2025-04-05 20:30:32 -04:00
PutBucketLifeCycleConfiguration: Return 200 instead of 204 (#8656)
This commit is contained in:
parent
c8d82588c2
commit
16ac4a3c64
@ -80,7 +80,7 @@ func (api objectAPIHandlers) PutBucketLifecycleHandler(w http.ResponseWriter, r
|
|||||||
globalNotificationSys.SetBucketLifecycle(ctx, bucket, bucketLifecycle)
|
globalNotificationSys.SetBucketLifecycle(ctx, bucket, bucketLifecycle)
|
||||||
|
|
||||||
// Success.
|
// Success.
|
||||||
writeSuccessNoContent(w)
|
writeSuccessResponseHeadersOnly(w)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetBucketLifecycleHandler - This HTTP handler returns bucket policy configuration.
|
// GetBucketLifecycleHandler - This HTTP handler returns bucket policy configuration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user