This commit is contained in:
Ilya Kantor 2019-03-14 19:00:56 +03:00
parent 5de1662dc2
commit 440f4086d4

View file

@ -96,6 +96,7 @@ xhr.onload = function() {
};
xhr.onprogress = function(event) {
// event.total=0 if the server did not send Content-Length header
alert(`Received ${event.loaded} of ${event.total}`);
};