Switch from HttpBuilder to Apache HttpClient in gradle provider to be able to handle streaming responses