class Rack::Test::Session

def append_query_params(query_array, query_params)

Append a string version of the query params to the array of query params.
def append_query_params(query_array, query_params)
  query_params = parse_nested_query(query_params) if query_params.is_a?(String)
  query_array << build_nested_query(query_params)
end