We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5de1662 commit 440f408Copy full SHA for 440f408
7-network/1-xmlhttprequest/article.md
@@ -96,6 +96,7 @@ xhr.onload = function() {
96
};
97
98
xhr.onprogress = function(event) {
99
+ // event.total=0 if the server did not send Content-Length header
100
alert(`Received ${event.loaded} of ${event.total}`);
101
102
0 commit comments