PutBucketLifeCycleConfiguration: Return 200 instead of 204 (#8656)

This commit is contained in:
kannappanr 2019-12-17 07:39:49 -08:00 committed by Harshavardhana
parent c8d82588c2
commit 16ac4a3c64

View file

@ -80,7 +80,7 @@ func (api objectAPIHandlers) PutBucketLifecycleHandler(w http.ResponseWriter, r
globalNotificationSys.SetBucketLifecycle(ctx, bucket, bucketLifecycle)
// Success.
writeSuccessNoContent(w)
writeSuccessResponseHeadersOnly(w)
}
// GetBucketLifecycleHandler - This HTTP handler returns bucket policy configuration.