diff --git a/devtools/client/netmonitor/har/har-builder.js b/devtools/client/netmonitor/har/har-builder.js index 61e01c3f951c..ecc52e4c4cbd 100644 --- a/devtools/client/netmonitor/har/har-builder.js +++ b/devtools/client/netmonitor/har/har-builder.js @@ -312,6 +312,7 @@ HarBuilder.prototype = { let responseContent = file.responseContent; if (responseContent && responseContent.content) { content.size = responseContent.content.size; + content.encoding = responseContent.content.encoding; } let includeBodies = this._options.includeResponseBodies; diff --git a/devtools/server/actors/webconsole.js b/devtools/server/actors/webconsole.js index 6d62ad4b1bd0..17ddb67a8028 100644 --- a/devtools/server/actors/webconsole.js +++ b/devtools/server/actors/webconsole.js @@ -2080,6 +2080,7 @@ NetworkEventActor.prototype = updateType: "responseContent", mimeType: aContent.mimeType, contentSize: aContent.size, + encoding: aContent.encoding, transferredSize: aContent.transferredSize, discardResponseBody: aDiscardedResponseBody, };