Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPutObjectPartURL (0.09 sec)

  1. cmd/object-handlers_test.go

    		{None, noAPIErr},
    		{TooBigDecodedLength, internalErr},
    	}
    
    	for i, test := range testCases {
    		rec = httptest.NewRecorder()
    		req, err = newTestStreamingSignedRequest(http.MethodPut,
    			getPutObjectPartURL("", bucketName, testObject, mpartResp.UploadID, "1"),
    			5, 1, bytes.NewReader([]byte("hello")), credentials.AccessKey, credentials.SecretKey)
    		if err != nil {
    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/test-utils_test.go

    // return URL for uploading object into the bucket.
    func getPutObjectURL(endPoint, bucketName, objectName string) string {
    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    func getPutObjectPartURL(endPoint, bucketName, objectName, uploadID, partNumber string) string {
    	queryValues := url.Values{}
    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("partNumber", partNumber)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top