def request_url(url_extension):
    host = env.host
    port = lookup_port(host)
    return 'http://%(host)s:%(port)i/%(url_ext)s' % {'host': host,
                                                     'port': port,
                                                     'url_ext': url_extension}
dataset/ETHPy150Open prestodb/presto-admin/prestoadmin/collect.py/request_url/original