'Prepares params for use in get or _ext_get methods.
If params is a string it will be left as it is, but if it\'s not it will
be urlencoded.'

def _prepare_params(self, params):

    if isinstance(params, six.string_types):
        return params
    return urllib.urlencode(params)
