Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for expires (0.15 sec)

  1. cmd/signature-v2.go

    		canonicalHeaders += "\n"
    	}
    
    	date := expires // Date is set to expires date for presign operations.
    	if date == "" {
    		// If expires date is empty then request header Date is used.
    		date = headers.Get(xhttp.Date)
    	}
    
    	// From the Amazon docs:
    	//
    	// StringToSign = HTTP-Verb + "\n" +
    	// 	 Content-Md5 + "\n" +
    	//	 Content-Type + "\n" +
    	//	 Date/Expires + "\n" +
    	//	 CanonicalizedProtocolHeaders +
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. cmd/signature-v4_test.go

    			},
    			region:   region,
    			expected: ErrUnsignedHeaders,
    		},
    		// (4) Should give an expired request if it has expired.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":      signV4Algorithm,
    				"X-Amz-Date":           now.AddDate(0, 0, -2).Format(iso8601Format),
    				"X-Amz-Expires":        "60",
    				"X-Amz-Signature":      "badsignature",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  3. cmd/object-api-datatypes.go

    	Inlined bool
    
    	DataBlocks   int
    	ParityBlocks int
    }
    
    // ExpiresStr returns a stringified version of Expires header in http.TimeFormat
    func (o ObjectInfo) ExpiresStr() string {
    	var expires string
    	if !o.Expires.IsZero() {
    		expires = o.Expires.UTC().Format(http.TimeFormat)
    	}
    	return expires
    }
    
    // ArchiveInfo returns any saved zip archive meta information.
    // It will be decrypted if needed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    		ongoing: false,
    		expiry:  expiry.UTC(),
    	}
    }
    
    // String returns x-amz-restore compatible representation of r.
    func (r restoreObjStatus) String() string {
    	if r.Ongoing() {
    		return `ongoing-request="true"`
    	}
    	return fmt.Sprintf(`ongoing-request="false", expiry-date="%s"`, r.expiry.Format(http.TimeFormat))
    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/api-response.go

    			}
    			for k, v := range cleanReservedKeys(object.UserDefined) {
    				content.UserMetadata.Set(k, v)
    			}
    
    			content.UserMetadata.Set("expires", object.Expires.Format(http.TimeFormat))
    			content.Internal = &ObjectInternalInfo{
    				K: object.DataBlocks,
    				M: object.ParityBlocks,
    			}
    		}
    		content.Owner = owner
    		content.VersionID = object.VersionID
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  6. cmd/object-multipart-handlers.go

    	}
    
    	defer globalCacheConfig.Set(&cache.ObjectInfo{
    		Key:          objInfo.Name,
    		Bucket:       objInfo.Bucket,
    		ETag:         objInfo.ETag,
    		ModTime:      objInfo.ModTime,
    		Expires:      objInfo.ExpiresStr(),
    		CacheControl: objInfo.CacheControl,
    		Size:         asize,
    		Metadata:     cleanReservedKeys(objInfo.UserDefined),
    	})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    		NumVersions:      fi.NumVersions,
    		SuccessorModTime: fi.SuccessorModTime,
    		CacheControl:     fi.Metadata["cache-control"],
    	}
    
    	if exp, ok := fi.Metadata["expires"]; ok {
    		if t, err := amztime.ParseHeader(exp); err == nil {
    			objInfo.Expires = t.UTC()
    		}
    	}
    
    	// Extract etag from metadata.
    	objInfo.ETag = extractETag(fi.Metadata)
    
    	// Add user tags to the object info
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. cmd/batch-expire.go

    	"github.com/minio/pkg/v2/wildcard"
    	"github.com/minio/pkg/v2/workers"
    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    //   prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
    //   rules:
    //     - type: object  # regular objects with zero or more older versions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. cmd/handler-utils.go

    var supportedHeaders = []string{
    	"content-type",
    	"cache-control",
    	"content-language",
    	"content-encoding",
    	"content-disposition",
    	"x-amz-storage-class",
    	xhttp.AmzStorageClass,
    	xhttp.AmzObjectTagging,
    	"expires",
    	xhttp.AmzBucketReplicationStatus,
    	"X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    	"X-Minio-Replication-Server-Side-Encryption-Seal-Algorithm",
    	"X-Minio-Replication-Server-Side-Encryption-Iv",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  10. cmd/object-api-utils.go

    	// Remove STANDARD StorageClass
    	metadata = removeStandardStorageClass(metadata)
    	// Clean meta etag keys 'md5Sum', 'etag', "expires", "x-amz-tagging".
    	return cleanMetadataKeys(metadata, "md5Sum", "etag", "expires", xhttp.AmzObjectTagging, "last-modified", VersionPurgeStatusKey)
    }
    
    // Filter X-Amz-Storage-Class field only if it is set to STANDARD.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top