diff --git a/lib/entryFromResponse.js b/lib/entryFromResponse.js index 6364720..69d1eb0 100644 --- a/lib/entryFromResponse.js +++ b/lib/entryFromResponse.js @@ -79,8 +79,9 @@ module.exports = function(entry, response, page, options) { status: response.status, statusText: response.statusText, content: { + encodig: response.encoding, mimeType: response.mimeType, - size: 0, + size: text != null ? text.length : 0, text: text }, headersSize: -1,