Skip to content

Commit

Permalink
Propagation of response.encoding (#79)
Browse files Browse the repository at this point in the history
* propagation of response.encoding

* fixed linter errors

Co-authored-by: Miroslav Baláž <mbalaz@hq.eset.com>
  • Loading branch information
miro-balaz and Miroslav Baláž authored Mar 6, 2021
1 parent 90670e8 commit 64111c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/entryFromResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 64111c5

Please sign in to comment.