- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ObjectAttributes (0.08 sec)
-
cmd/object-api-options_test.go
req.Header = testCase.headers opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject") if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) { t.Errorf("want opts %v, got %v", testCase.wantObjectAttrs, opts.ObjectAttributes) } }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/object-api-options.go
valid = false return } opts.ObjectAttributes = parseObjectAttributes(r.Header) if len(opts.ObjectAttributes) < 1 { apiErr = errorCodes.ToAPIErr(ErrInvalidAttributeName) argumentName = strings.ToLower(xhttp.AmzObjectAttributes) valid = false return } for tag := range opts.ObjectAttributes { switch tag { case xhttp.ETag: case xhttp.Checksum:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 14.4K bytes - Viewed (0) -
cmd/object-api-interface.go
Tagging bool // Is only in GET/HEAD operations to return tagging metadata along with regular metadata and body. UserDefined map[string]string // only set in case of POST/PUT operations ObjectAttributes map[string]struct{} // Attribute tags defined by the users for the GetObjectAttributes request MaxParts int // used in GetObjectAttributes. Signals how many parts we should return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/object-handlers.go
ChecksumSHA256: strings.Split(chkSums["SHA256"], "-")[0], } } } if _, ok := opts.ObjectAttributes[xhttp.ETag]; ok { OA.ETag = objInfo.ETag } if _, ok := opts.ObjectAttributes[xhttp.ObjectSize]; ok { OA.ObjectSize, _ = objInfo.GetActualSize() } if _, ok := opts.ObjectAttributes[xhttp.StorageClass]; ok { OA.StorageClass = filterStorageClass(ctx, objInfo.StorageClass) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 05 05:16:15 UTC 2024 - 117.4K bytes - Viewed (0)