Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for completeBytes (0.17 sec)

  1. cmd/object-handlers_test.go

    		parts = append(parts, CompletePart{
    			PartNumber: partNumber,
    			ETag:       canonicalizeETag(resp.ETag),
    		})
    	}
    
    	var completeBytes []byte
    	// Complete multipart upload parts.
    	completeUploads := &CompleteMultipartUpload{
    		Parts: parts,
    	}
    	completeBytes, err = xml.Marshal(completeUploads)
    	if err != nil {
    		t.Fatalf("Error XML encoding of parts: <ERROR> %s.", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/server_test.go

    			},
    		},
    	}
    
    	completeBytes, err := xml.Marshal(completeUploads)
    	c.Assert(err, nil)
    	// Indicating that all parts are uploaded and initiating CompleteMultipartUpload.
    	request, err = newTestSignedRequest(http.MethodPost, getCompleteMultipartUploadURL(s.endPoint, bucketName, objectName, uploadID),
    		int64(len(completeBytes)), bytes.NewReader(completeBytes), s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top