Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isStandardHeader (0.09 sec)

  1. cmd/batch-rotate.go

    			return false
    		}
    
    		if len(r.Flags.Filter.Metadata) > 0 {
    			for _, kv := range r.Flags.Filter.Metadata {
    				for k, v := range info.Metadata {
    					if !stringsHasPrefixFold(k, "x-amz-meta-") && !isStandardHeader(k) {
    						continue
    					}
    					// We only need to match x-amz-meta or standardHeaders
    					if kv.Match(BatchJobKV{Key: k, Value: v}) {
    						return true
    					}
    				}
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    			return false
    		}
    
    		for _, kv := range r.Flags.Filter.Metadata {
    			for k, v := range oi.UserDefined {
    				if !stringsHasPrefixFold(k, "x-amz-meta-") && !isStandardHeader(k) {
    					continue
    				}
    				// We only need to match x-amz-meta or standardHeaders
    				if kv.Match(BatchJobKV{Key: k, Value: v}) {
    					return true
    				}
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    			// standard metadata headers
    			// specified in the filter
    			var match bool
    			for k, v := range obj.UserDefined {
    				if !stringsHasPrefixFold(k, "x-amz-meta-") && !isStandardHeader(k) {
    					continue
    				}
    				// We only need to match x-amz-meta or standardHeaders
    				if kv.Match(BatchJobKV{Key: k, Value: v}) {
    					match = true
    				}
    			}
    			if !match {
    				return false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    		return false
    	}
    	for _, obj := range objects {
    		if c.HasActiveRules(obj.ObjectName, true) {
    			return true
    		}
    	}
    	return false
    }
    
    // isStandardHeader returns true if header is a supported header and not a custom header
    func isStandardHeader(matchHeaderKey string) bool {
    	return equals(matchHeaderKey, standardHeaders...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top