Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IfUnModifiedSince (0.2 sec)

  1. 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)
  2. 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)
Back to top