- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 60 for setTag (0.03 seconds)
-
cmd/object-api-utils_test.go
{[]CompletePart{{ETag: "wrong-md5-hash-string"}}, "0deb8cb07527b4b2669c861cb9653607-1", ""}, // Single CompletePart with valid MD5 hash string. {[]CompletePart{{ETag: "cf1f738a5924e645913c984e0fe3d708"}}, "10dc1617fbcf0bd0858048cb96e6bd77-1", ""}, // Multiple CompletePart with valid MD5 hash string.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* encoding for URL decoding.</p> * * <p>Example usage:</p> * <pre> * {@code * IdnDnsResolver resolver = new IdnDnsResolver(); * resolver.setFlag(IDN.ALLOW_UNASSIGNED); * resolver.setEncoding("UTF-8"); * InetAddress[] addresses = resolver.resolve("example.com"); * } * </pre> * */ public class IdnDnsResolver implements DnsResolver {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 06 07:24:43 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/api-response.go
// generates CopyObjectResponse from etag and lastModified time. func generateCopyObjectResponse(etag string, lastModified time.Time) CopyObjectResponse { return CopyObjectResponse{ ETag: "\"" + etag + "\"", LastModified: amztime.ISO8601Format(lastModified.UTC()), } } // generates CopyObjectPartResponse from etag and lastModified time.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
// This should fail even without quorum issues, but with quorum failure // we can't verify the ETag at all. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: "wrong-etag-12345", }, HasIfMatch: true, CheckPrecondFn: func(oi ObjectInfo) bool { // Precondition fails if ETags don't match return oi.ETag != "wrong-etag-12345" }, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/encryption-v1_test.go
ETag: "", ShouldFail: true, // ETag prefix is not a valid hex value }, { ObjectKey: [32]byte{}, ObjectInfo: ObjectInfo{ETag: "16516b396f0f4d4f2a0e7177557bec4-1-2"}, ETag: "", ShouldFail: true, // ETag contains multiple: - }, } func TestDecryptETag(t *testing.T) { for i, test := range decryptETagTests {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
cmd/erasure-multipart.go
PartNumber: part.PartNumber, GotETag: part.ETag, } return oi, invp } expPart := currentFI.Parts[partIdx] // ensure that part ETag is canonicalized to strip off extraneous quotes part.ETag = canonicalizeETag(part.ETag) expETag := tryDecryptETag(objectEncryptionKey, expPart.ETag, kind == crypto.S3) if expETag != part.ETag { invp := InvalidPart{ PartNumber: part.PartNumber,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
cmd/erasure-healing-common.go
etag = commonETag(etags, quorum) if etag != "" { // allow this fallback only if a non-empty etag is found. for index, e := range etags { if partsMetadata[index].IsValid() && e == etag { onlineDisks[index] = disks[index] } else { onlineDisks[index] = nil } } return onlineDisks, modTime, etag } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
cmd/bucket-handlers.go
return } etag := getDecryptedETag(formValues, objInfo, false) // We must not use the http.Header().Set method here because some (broken) // clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive). // Therefore, we have to set the ETag directly as map entry. w.Header()[xhttp.ETag] = []string{`"` + etag + `"`}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
cmd/erasure-object-conditional_test.go
// Test Case 3: if-match with wrong ETag // Even if the ETag doesn't match, we should still get read quorum error // because we can't read the object to check the condition. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: "wrong-etag", }, CheckPrecondFn: func(oi ObjectInfo) bool { // Precondition fails if ETag doesn't match
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 89.4K bytes - Click Count (0)