1
0
Fork 0
forked from svrjs/svrjs

Fix bug with res.writeHead method

This commit is contained in:
Dorian Niemiec 2024-03-29 10:58:50 +01:00
parent 03a485c04a
commit 428444a3a6

1
svr.js
View file

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