Bug 1221754 - Include encoding in HAR exported data; r=jryans

This commit is contained in:
Jan Odvarko 2015-11-09 13:46:12 +01:00
parent c6ecb912fb
commit 10557497eb
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -2080,6 +2080,7 @@ NetworkEventActor.prototype =
updateType: "responseContent",
mimeType: aContent.mimeType,
contentSize: aContent.size,
encoding: aContent.encoding,
transferredSize: aContent.transferredSize,
discardResponseBody: aDiscardedResponseBody,
};