Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasIfMatch (0.04 sec)

  1. cmd/object-handlers.go

    		}
    		opts.WantChecksum = hashReader.Checksum()
    	}
    
    	rawReader := hashReader
    	pReader := NewPutObjReader(rawReader)
    	opts.IndexCB = idxCb
    
    	if r.Header.Get(xhttp.IfMatch) != "" {
    		opts.HasIfMatch = true
    	}
    	if opts.PreserveETag != "" ||
    		r.Header.Get(xhttp.IfMatch) != "" ||
    		r.Header.Get(xhttp.IfNoneMatch) != "" {
    		opts.CheckPrecondFn = func(oi ObjectInfo) bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top