Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 90 for Expires (0.14 sec)

  1. cmd/object-handlers.go

    	"github.com/valyala/bytebufferpool"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    	"response-content-encoding":    xhttp.ContentEncoding,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    	}
    }
    
    // expireTransitionedObject handles expiry of transitioned/restored objects
    // (versions) in one of the following situations:
    //
    // 1. when a restored (via PostRestoreObject API) object expires.
    // 2. when a transitioned object expires (based on an ILM rule).
    func expireTransitionedObject(ctx context.Context, objectAPI ObjectLayer, oi *ObjectInfo, lcEvent lifecycle.Event, src lcEventSrc) error {
    	traceFn := globalLifecycleSys.trace(*oi)
    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)
  3. cmd/warm-backend-azure.go

    		err := spt.Refresh()
    		if err != nil {
    			return 0
    		}
    		// set the new token value
    		tc.SetToken(spt.Token().AccessToken)
    
    		// get the next token before the current one expires
    		nextRenewal := float64(time.Until(spt.Token().Expires())) * 0.8
    		if nextRenewal <= 0 {
    			nextRenewal = float64(time.Second)
    		}
    
    		return time.Duration(nextRenewal)
    	})
    
    	return tc, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  4. cmd/test-utils_test.go

    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    		expiresStr = strconv.FormatInt(epochExpires, 10)
    		req.Header.Set("Expires", expiresStr)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K 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. docs/bucket/lifecycle/DESIGN.md

    ```
    ...
            "MetaUsr": {
             "X-Amz-Restore-Expiry-Days": "4",
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  7. docs/sts/wso2.md

      "token_type": "Bearer",
      "expires_in": 3600
    }
    ```
    
    ### 4. JWT Claims
    
    The id_token received is a signed JSON Web Token (JWT). Use a JWT decoder to decode the id_token to access the payload of the token that includes following JWT claims:
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  8. docs/bucket/lifecycle/README.md

                    "NoncurrentDays": 30
                }
            }
        ]
    }
    ```
    
    This JSON rule is equivalent to the following MinIO Client command:
    ```
    mc ilm rule add --noncurrent-expire-days 30 --noncurrent-expire-newer 5 myminio/mydata
    ```
    
    #### 3.2.a Automatic removal of noncurrent versions keeping only most recent ones immediately (MinIO only extension)
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 26 07:33:25 GMT 2023
    - 9K bytes
    - Viewed (1)
  9. 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)
  10. 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)
Back to top