forked from svrjs/svrjs
Fix bug with res.writeHead method
This commit is contained in:
parent
03a485c04a
commit
428444a3a6
1 changed files with 1 additions and 0 deletions
1
svr.js
1
svr.js
|
@ -2925,6 +2925,7 @@ if (!cluster.isPrimary) {
|
|||
var table = c;
|
||||
if (typeof (b) == "object") table = b;
|
||||
if (table == undefined) table = this.tHeaders;
|
||||
if (table == undefined) table = {};
|
||||
table = JSON.parse(JSON.stringify(table));
|
||||
Object.keys(table).forEach(function (key) {
|
||||
var al = key.toLowerCase();
|
||||
|
|
Reference in a new issue