def _get_url(self, host, path, hash, kw):
        url = host.encode('UTF-8') + quote_u_8(path)
        if hash:
            url = '%s?%s' % (url, urlencode_hash_u_8(hash))
        elif kw:
            kwds = '&'.join('%s=%s' % (k.encode('UTF-8'),
                                       format_param(kw[k])) for k in kw)

            url = '%s?%s' % (url, kwds)
        return url.decode('UTF-8')
returns URL as unicode
dataset/ETHPy150Open njr0/fish/fish/fishlib.py/Fluidinfo._get_url