Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetPredictionHeaders (0.1 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)
Back to top