'URL-encodes a list of parameters.
Args:
params: Dictionary of parameters, possibly with iterable values.
Returns:
URL-encoded version of the params, ready to be added to a query string or
POST body.'

@staticmethod
def __encode_params(params):

    return urllib.urlencode(_flatten_params(params))
