_http_outgoing.js:351 throw new TypeError('The header content contains invalid characters');
francisleunggie opened this issue · comments
There is this header value "getKeyByValue" that causes the error in the title. The value is basically a function, which according to the new NodeJS docs contains invalid/not-so-ascii characters. Can fix?
my mistake, the header value ""getKeyByValue" was added as an Object prototype attr which i have forgotten about. the value caused the _http_outgoing error. lesson learnt about adding attr to such a high level object.