diff --git a/exec/load/http.js b/exec/load/http.js index f31262a361d5fc262278bc88066df59bdb5ad9a4..34e6979758517cc5aba88407dc664c787bbe458a 100644 --- a/exec/load/http.js +++ b/exec/load/http.js @@ -173,9 +173,11 @@ HTTPRequest.prototype.ReadHeaders=function() { this.response_headers_parsed[m[1]] = []; this.response_headers_parsed[m[1]].push(m[2]); var lc = m[1].toLowerCase(); - if (this.response_headers_parsed[lc] == undefined) - this.response_headers_parsed[lc] = []; - this.response_headers_parsed[lc].push(m[2]); + if (lc !== m[1]) { + if (this.response_headers_parsed[lc] == undefined) + this.response_headers_parsed[lc] = []; + this.response_headers_parsed[lc].push(m[2]); + } } } };