diff --git a/lib/browser.js b/lib/browser.js
index <HASH>..<HASH> 100644
--- a/lib/browser.js
+++ b/lib/browser.js
@@ -138,7 +138,7 @@ Browser.prototype.init = async () => {
         //networkDebug('Network.loadingFinished', data);
         networkDebug('Network.loadingFinished < %s %s %s %s (%f kB fetched, %f kB uncompressed)',
             response.protocol, response.status, response.statusText, response.url,
-            1.0 * response.encodedDataLength / 1024,
+            1.0 * (response.encodedDataLength || response.headers['content-length']) / 1024,
             1.0 * response.dataLength / 1024);
 
         this.events.emit('response', response);
browser.js: log how many bytes where fetched via netrwork