Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetPredictionHeaders (0.12 sec)

  1. cmd/api-headers.go

    		w.Header()[xhttp.AmzStorageClass] = []string{filterStorageClass(ctx, objInfo.TransitionedObject.Tier)}
    	}
    
    	if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil {
    		lc.SetPredictionHeaders(w, objInfo.ToLifecycleOpts())
    	}
    
    	if v, ok := objInfo.UserDefined[ReservedMetadataPrefix+"compression"]; ok {
    		if i := strings.LastIndexByte(v, '/'); i >= 0 {
    			v = v[i+1:]
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    		}
    	}
    
    	if objInfo.Bucket != "" && objInfo.Name != "" {
    		if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil && !delete {
    			lc.SetPredictionHeaders(w, objInfo.ToLifecycleOpts())
    		}
    	}
    	hash.AddChecksumHeader(w, objInfo.decryptChecksums(0, h))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top