Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getListMultipartURLWithParams (0.14 sec)

  1. cmd/object-handlers_test.go

    			instanceType, bucketName, testObject, rec.Code)
    	}
    	rec = httptest.NewRecorder()
    	req, err = newTestRequest(http.MethodGet,
    		getListMultipartURLWithParams("", bucketName, testObject, mpartResp.UploadID, "", "", ""),
    		0, nil)
    	if err != nil {
    		t.Fatalf("[%s] - Failed to create an unsigned request to list object parts for bucket %s, uploadId %s",
    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

    	c.Assert(err, nil)
    	c.Assert(response2.StatusCode, http.StatusOK)
    
    	// HTTP request to ListMultipart Uploads.
    	// max-keys is set to valid value of 1
    	request, err = newTestSignedRequest(http.MethodGet, getListMultipartURLWithParams(s.endPoint, bucketName, objectName, uploadID, "1", "", ""),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	// execute the HTTP request.
    	response3, err := s.client.Do(request)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	queryValue.Set("max-uploads", maxUploads)
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for a listing parts on a given upload id.
    func getListMultipartURLWithParams(endPoint, bucketName, objectName, uploadID, maxParts, partNumberMarker, encoding string) string {
    	queryValues := url.Values{}
    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("max-parts", maxParts)
    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