Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for age (0.12 sec)

  1. internal/config/browser/browser.go

    const (
    	// browserCSPPolicy setting name for Content-Security-Policy response header value
    	browserCSPPolicy = "csp_policy"
    	// browserHSTSSeconds setting name for Strict-Transport-Security response header, amount of seconds for 'max-age'
    	browserHSTSSeconds = "hsts_seconds"
    	// browserHSTSIncludeSubdomains setting name for Strict-Transport-Security response header 'includeSubDomains' flag (true or false)
    	browserHSTSIncludeSubdomains = "hsts_include_subdomains"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. docs/debugging/s3-verify/main.go

    	flag.StringVar(&targetBucket, "target-bucket", "", "Select a specific bucket")
    	flag.StringVar(&targetPrefix, "target-prefix", "", "Select a prefix")
    
    	flag.StringVar(&minimumObjectAge, "minimum-object-age", "0s", "Ignore objects younger than the specified age")
    	flag.BoolVar(&debug, "debug", false, "Prints HTTP network calls to S3 endpoint")
    	flag.BoolVar(&insecure, "insecure", false, "Disable TLS verification")
    	flag.Parse()
    
    	if sourceEndpoint == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  3. cmd/bucket-policy.go

    	}
    
    	if lc != "" {
    		args["LocationConstraint"] = []string{lc}
    	}
    
    	cloneHeader := r.Header.Clone()
    	if v := cloneHeader.Get("x-amz-signature-age"); v != "" {
    		args["signatureAge"] = []string{v}
    		cloneHeader.Del("x-amz-signature-age")
    	}
    
    	if userTags := cloneHeader.Get(xhttp.AmzObjectTagging); userTags != "" {
    		tag, _ := tags.ParseObjectTags(userTags)
    		if tag != nil {
    			tagMap := tag.ToMap()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    				break
    			}
    
    			if !rule.Expiration.IsDaysNull() {
    				// Specifying the Days tag will automatically perform ExpiredObjectDeleteMarker cleanup
    				// once delete markers are old enough to satisfy the age criteria.
    				// https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html
    				if expectedExpiry := ExpectedExpiryTime(obj.ModTime, int(rule.Expiration.Days)); now.IsZero() || now.After(expectedExpiry) {
    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. internal/config/browser/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         browserHSTSSeconds,
    			Description: `set Strict-Transport-Security 'max-age' amount of seconds value` + defaultHelpPostfix(browserHSTSSeconds),
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         browserHSTSIncludeSubdomains,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    	// Verify signature.
    	if !compareSignatureV4(req.Form.Get(xhttp.AmzSignature), newSignature) {
    		return ErrSignatureDoesNotMatch
    	}
    
    	r.Header.Set("x-amz-signature-age", strconv.FormatInt(UTCNow().Sub(pSignValues.Date).Milliseconds(), 10))
    
    	return ErrNone
    }
    
    // doesSignatureMatch - Verify authorization header with calculated header in accordance with
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. internal/s3select/sql/analysis.go

    // row. They have an output for each input row.
    //
    // Some types of a queries are not valid. For example, an aggregation
    // function combined with a row function is meaningless ("AVG(s.Age) +
    // s.Salary"). Analysis determines if such a scenario exists so an
    // error can be returned.
    
    var (
    	// Fatal error for query processing.
    	errNestedAggregation      = errors.New("Cannot nest aggregations")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. cmd/generic-handlers.go

    		header.Set("X-Content-Type-Options", "nosniff")                                // Prevent mime-sniff
    		header.Set("Strict-Transport-Security", "max-age=31536000; includeSubDomains") // HSTS mitigates variants of MITM attacks
    
    		// Previously, this value was set right before a response was sent to
    		// the client. So, logger and Error response XML were not using this
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. docs/logging/README.md

      },
      "responseHeader": {
        "Accept-Ranges": "bytes",
        "Content-Length": "0",
        "ETag": "4939450d1beec11e10a91ee7700bb593",
        "Server": "MinIO",
        "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
        "Vary": "Origin,Accept-Encoding",
        "X-Amz-Request-Id": "16ABE7A785E7AC2C",
        "X-Amz-Server-Side-Encryption": "aws:kms",
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 9.9K bytes
    - Viewed (2)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			objectModTime:   time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			hasManyVersions: true,
    			expectedAction:  DeleteAllVersionsAction,
    		},
    		// TransitionAction applies since object doesn't meet the age criteria for DeleteAllVersions
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top