- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for IfUnModifiedSince (0.4 sec)
-
internal/config/cache/remote_gen.go
return } } case "IfUnModifiedSince": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "IfUnModifiedSince") return } z.IfUnModifiedSince = nil } else { if z.IfUnModifiedSince == nil { z.IfUnModifiedSince = new(time.Time) } *z.IfUnModifiedSince, err = dc.ReadTime() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 22 21:46:17 UTC 2023 - 18.9K bytes - Viewed (0) -
internal/config/cache/remote.go
r.IfModifiedSince = &givenTime } } ifUnmodifiedSinceHeader := header.Get(xhttp.IfUnmodifiedSince) if ifUnmodifiedSinceHeader != "" { if givenTime, err := amztime.ParseHeader(ifUnmodifiedSinceHeader); err == nil { r.IfUnModifiedSince = &givenTime } } r.IfMatch = canonicalizeETag(header.Get(xhttp.IfMatch)) r.IfNoneMatch = canonicalizeETag(header.Get(xhttp.IfNoneMatch))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 22 21:46:17 UTC 2023 - 3.7K bytes - Viewed (0) -
internal/http/headers.go
// Non standard S3 HTTP response constants const ( XCache = "X-Cache" XCacheLookup = "X-Cache-Lookup" ) // Standard S3 HTTP request constants const ( IfModifiedSince = "If-Modified-Since" IfUnmodifiedSince = "If-Unmodified-Since" IfMatch = "If-Match" IfNoneMatch = "If-None-Match" // Request tags used in GetObjectAttributes Checksum = "Checksum" StorageClass = "StorageClass"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/object-handlers-common.go
} } // If-Unmodified-Since : Return the object only if it has not been modified since the specified // time, otherwise return a 412 (precondition failed). ifUnmodifiedSinceHeader := r.Header.Get(xhttp.IfUnmodifiedSince) if ifUnmodifiedSinceHeader != "" { if givenTime, err := amztime.ParseHeader(ifUnmodifiedSinceHeader); err == nil { if ifModifiedSince(objInfo.ModTime, givenTime) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 14.6K bytes - Viewed (0)