PutBucketLifeCycleConfiguration: Return 200 instead of 204 (#8656)

master
kannappanr 5 years ago committed by Harshavardhana
parent c8d82588c2
commit 16ac4a3c64
  1. 2
      cmd/bucket-lifecycle-handler.go

@ -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.

Loading…
Cancel
Save