def _push_app_archive(workspace, local_app_archive, registry_endpoint, verbose):
    """
    Uploads the local app archive into a workspace at a remote registry.
    """
    operation_path_URL = "".join([registry_endpoint, "/app", "?workspace=", workspace])
    logging.debug("OPERATION URL:\n%s" %(operation_path_URL))
    with open(local_app_archive, "rb") as laa:
        archive_content = laa.read()
        res = requests.request("POST", operation_path_URL, data=archive_content)
        logging.debug("RESPONSE:\n%s" %(res.json()))
    return res
dataset/ETHPy150Open kubernauts/kploy/kploycommon.py/_push_app_archive/original