allow to pass Proc as download_url which will be called to resolve