Display progress during download of a file


I’m using http.request(url, "GET", function(self, id, response) to download a file.

Ideally I’d like to show the progress ("Download in progress- 33%) to the user.
I don’t see any way to do this with the current http module.

Did someone find a way to do this?

Correct. The http module does not provide this at the moment. You’d have to implement file download using a socket connection to be able to achieve this at the moment. I’m unable to find a feature request for this so please go ahead and submit one!