Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 8,070 for expires (4.54 sec)

  1. 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)
  2. internal/http/headers.go

    	LastModified       = "Last-Modified"
    	Date               = "Date"
    	ETag               = "ETag"
    	ContentType        = "Content-Type"
    	ContentMD5         = "Content-Md5"
    	ContentEncoding    = "Content-Encoding"
    	Expires            = "Expires"
    	ContentLength      = "Content-Length"
    	ContentLanguage    = "Content-Language"
    	ContentRange       = "Content-Range"
    	Connection         = "Connection"
    	AcceptRanges       = "Accept-Ranges"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  3. cmd/object-handlers-common.go

    		w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    	}
    
    	if objInfo.VersionID != "" {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    
    	if !objInfo.Expires.IsZero() {
    		w.Header().Set(xhttp.Expires, objInfo.Expires.UTC().Format(http.TimeFormat))
    	}
    
    	if objInfo.CacheControl != "" {
    		w.Header().Set(xhttp.CacheControl, objInfo.CacheControl)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    	DeleteRestoredVersionAction
    	// DeleteAllVersionsAction deletes all versions when an object expires
    	DeleteAllVersionsAction
    	// DelMarkerDeleteAllVersionsAction deletes all versions when an object with delete marker as latest version expires
    	DelMarkerDeleteAllVersionsAction
    	// ActionCount must be the last action and shouldn't be used as a regular action.
    	ActionCount
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. 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)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            setState(finalState);
            return true;
          }
    
          /**
           * Blocks until the task is complete or the timeout expires. Throws a {@link TimeoutException}
           * if the timer expires, otherwise behaves like {@link #get()}.
           */
          V get(long nanos)
              throws TimeoutException, CancellationException, ExecutionException, InterruptedException {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 13.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            setState(finalState);
            return true;
          }
    
          /**
           * Blocks until the task is complete or the timeout expires. Throws a {@link TimeoutException}
           * if the timer expires, otherwise behaves like {@link #get()}.
           */
          V get(long nanos)
              throws TimeoutException, CancellationException, ExecutionException, InterruptedException {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  8. docs/sts/client_grants/__init__.py

                creds = json.loads(response.data)
    
                query = {}
                query['Action'] = 'AssumeRoleWithClientGrants'
                query['Token'] = creds['access_token']
                query['DurationSeconds'] = creds['expires_in']
                query['Version'] = '2011-06-15'
    
                query_components = []
                for key in query:
                    if query[key] is not None:
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  9. 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)
  10. docs/sts/client-grants.go

    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    // JWTToken - parses the output from IDP id_token.
    type JWTToken struct {
    	AccessToken string `json:"access_token"`
    	Expiry      int    `json:"expires_in"`
    }
    
    var (
    	stsEndpoint  string
    	idpEndpoint  string
    	clientID     string
    	clientSecret string
    )
    
    func init() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
Back to top