code: function tally() {
            entry.request.headerSize = Buffer.byteLength(rawReqHeaders, 'utf8');
  
            if (options.bodies && ALLOWED_CONTENT_TYPES.indexOf(entry.response.content._type) !== -1) {
              // Store only human-readable content (i.e., not binary)
              // (and if the user actually wants the response bodies in the HAR).
              entry.response.content.text = body;
            }
            entry.response.bodySize = bodySize;
            entry.response.content.headersSize = Buffer.byteLength(rawResHeaders, 'utf8');
            entry.response.content.size = uncompressedSize;
            entry.response.content.compression = uncompressedSize - bodySize;
            entry.response.content.bodySize = bodySize + entry.response.content.compression;
  
            resolve({idx: idx, data: entry});
          }
docs: plain text body (after uncompressing gzip/deflate)