- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for ETAG (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
/** * Extension header set by OkHttp specifying the timestamp when the cached HTTP response was * first received. */ private var receivedResponseMillis = 0L /** Etag of the cached response. */ private var etag: String? = null /** Age of the cached response. */ private var ageSeconds = -1 /** * Returns true if computeFreshnessLifetime used a heuristic. If we used a heuristic to serve aCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
cmd/erasure-object.go
// as well as common modtime, if modtime is not possible // verify if it has common "etag" at least. if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) { ok := onlineMeta[i].ModTime.Equal(modTime) if modTime.IsZero() || modTime.Equal(timeSentinel) { ok = etag != "" && etag == fi.Metadata["etag"] } if ok { continue }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
// Special case some of the weird HTTP Header names... ImmutableBiMap<String, String> specialCases = ImmutableBiMap.<String, String>builder() .put("CDN_LOOP", "CDN-Loop") .put("ETAG", "ETag") .put("SOURCE_MAP", "SourceMap") .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64") .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertThat(invalidate.body.string()).isEqualTo("") assertThat(get(url).body.string()).isEqualTo("C") } @Test fun etag() { val conditionalRequest = assertConditionallyCached( MockResponse .Builder() .addHeader("ETag: v1") .build(), ) assertThat(conditionalRequest.headers["If-None-Match"]).isEqualTo("v1") }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
* * @since 28.2 */ public static final String CROSS_ORIGIN_OPENER_POLICY = "Cross-Origin-Opener-Policy"; /** The HTTP {@code ETag} header field name. */ public static final String ETAG = "ETag"; /** The HTTP {@code Expires} header field name. */ public static final String EXPIRES = "Expires"; /** The HTTP {@code Last-Modified} header field name. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 24 14:36:23 GMT 2026 - 35.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0)