mirror of
https://github.com/versity/versitygw.git
synced 2026-08-19 13:46:21 +00:00
test: ListObjectsV2 REST capability, initial multi-page testing
This commit is contained in:
@@ -65,3 +65,18 @@ $canonical_request_hash"
|
||||
curl_command=()
|
||||
add_command_recording_if_enabled
|
||||
}
|
||||
|
||||
add_parameter() {
|
||||
if [ "$#" -ne 2 ]; then
|
||||
return
|
||||
fi
|
||||
if [ "$first_param_added" != "true" ]; then
|
||||
if [ "$1" == "url" ]; then
|
||||
eval "$1"+='?'
|
||||
fi
|
||||
eval "$1"+="$2"
|
||||
first_param_added="true"
|
||||
else
|
||||
eval "$1"+="'&$2'"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user