Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMultiDeleteObjectURL (0.27 sec)

  1. cmd/server_test.go

    			},
    		})
    	}
    	// Marshal delete request.
    	deleteReqBytes, err := xml.Marshal(delObjReq)
    	c.Assert(err, nil)
    
    	// Delete list of objects.
    	request, err = newTestSignedRequest(http.MethodPost, getMultiDeleteObjectURL(s.endPoint, bucketName),
    		int64(len(deleteReqBytes)), bytes.NewReader(deleteReqBytes), s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	response, err = s.client.Do(request)
    	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)
  2. cmd/test-utils_test.go

    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    // return URL for deleting multiple objects from a bucket.
    func getMultiDeleteObjectURL(endPoint, bucketName string) string {
    	queryValue := url.Values{}
    	queryValue.Set("delete", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for HEAD on the object.
    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