Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getListObjectsV1URL (0.11 sec)

  1. cmd/server_test.go

    	}
    
    	testCases := []struct {
    		getURL          string
    		expectedStrings []string
    	}{
    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", ""), []string{"<Key>foo bar 1</Key>", "<Key>foo bar 2</Key>"}},
    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", "url"), []string{"<Key>foo+bar+1</Key>", "<Key>foo+bar+2</Key>"}},
    		{
    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

    	queryValue := url.Values{}
    	queryValue.Set("lifecycle", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for listing objects in the bucket with V1 legacy API.
    func getListObjectsV1URL(endPoint, bucketName, prefix, maxKeys, encodingType string) string {
    	queryValue := url.Values{}
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    	if encodingType != "" {
    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