- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PutBucketLifecycle (0.06 sec)
-
internal/bucket/lifecycle/rule.go
// A valid rule could be a pre-existing one created using the now deprecated PutBucketLifecycle. // Or, a valid rule could also be either a pre-existing or a new rule that is created using PutBucketLifecycleConfiguration. // Prefix validation below may check that either Rule.Prefix or Rule.Filter.Prefix exist but not both. // Here, we assume the pre-existing rule created using PutBucketLifecycle API is already valid and won't fail the validation if Rule.Prefix is empty.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 25 20:12:21 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers.go
ctx := newContext(r, w, "PutBucketLifecycle") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) objAPI := api.ObjectAPI() if objAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } vars := mux.Vars(r) bucket := vars["bucket"] // PutBucketLifecycle always needs a Content-Md5 if !validateLengthAndChecksum(r) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 7K bytes - Viewed (0)