def generate_urls(self, _version, host_platform):
    """Append the file's download path to each of --binaries-baseurls.

    This assumes that the urls in --binaries-baseurls point somewhere that mirrors Pants's
    organization of the downloaded binaries on disk. Each url is tried in order until a request
    succeeds.
    """
    binary_path = self._binary_request.get_download_path(host_platform)
    return [posixpath.join(baseurl, binary_path) for baseurl in self._baseurls]