Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isStandardHeader (0.18 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-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)
Back to top