Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copySrcOpts (0.05 sec)

  1. cmd/object-api-options.go

    	return putOptsFromReq(ctx, r, bucket, object, metadata)
    }
    
    // get ObjectOptions for Copy calls with encryption headers provided on the source side
    func copySrcOpts(ctx context.Context, r *http.Request, bucket, object string) (ObjectOptions, error) {
    	var opts ObjectOptions
    
    	// default case of passing encryption headers to backend
    	opts, err := getDefaultOpts(r.Header, false, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    	if isMaxPartID(partID) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidMaxParts), r.URL)
    		return
    	}
    
    	var srcOpts, dstOpts ObjectOptions
    	srcOpts, err = copySrcOpts(ctx, r, srcBucket, srcObject)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	srcOpts.VersionID = vid
    
    	// convert copy src and dst encryption options for GET/PUT calls
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	sseConfig, _ := globalBucketSSEConfigSys.Get(dstBucket)
    	sseConfig.Apply(r.Header, sse.ApplyOptions{
    		AutoEncrypt: globalAutoEncryption,
    	})
    
    	var srcOpts, dstOpts ObjectOptions
    	srcOpts, err = copySrcOpts(ctx, r, srcBucket, srcObject)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	srcOpts.VersionID = vid
    
    	// convert copy src encryption options for GET calls
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top