Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkCopyObjectPartPreconditions (0.42 sec)

  1. cmd/object-handlers-common.go

    //
    //	x-amz-copy-source-if-modified-since
    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	return checkCopyObjectPreconditions(ctx, w, r, objInfo)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    	}
    
    	checkCopyPartPrecondFn := func(o ObjectInfo) bool {
    		if _, err := DecryptObjectInfo(&o, r); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return true
    		}
    		if checkCopyObjectPartPreconditions(ctx, w, r, o) {
    			return true
    		}
    		if parseRangeErr != nil {
    			writeCopyPartErr(ctx, w, parseRangeErr, r.URL)
    			// Range header mismatch is pre-condition like failure
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
Back to top