<gh_stars>100-1000
from disco import comm

def open(url, task=None):
    return comm.open_url(url)

def input_stream(fd, sze, url, params):
    """Opens the specified url using an http client."""
    import disco.worker
    file = open(url, task=disco.worker.active_task)
    return file, len(file), file.url

from disco import comm

def open(url, task=None):
    return comm.open_url(url)

def input_stream(fd, sze, url, params):
    """Opens the specified url using an http client."""
    import disco.worker
    file = open(url, task=disco.worker.active_task)
    return file, len(file), file.url
Opens the specified url using an http client.