зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1221754 - Include encoding in HAR exported data; r=jryans
This commit is contained in:
Родитель
c6ecb912fb
Коммит
10557497eb
|
@ -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;
|
||||
|
|
|
@ -2080,6 +2080,7 @@ NetworkEventActor.prototype =
|
|||
updateType: "responseContent",
|
||||
mimeType: aContent.mimeType,
|
||||
contentSize: aContent.size,
|
||||
encoding: aContent.encoding,
|
||||
transferredSize: aContent.transferredSize,
|
||||
discardResponseBody: aDiscardedResponseBody,
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче