Merge pull request #3842 from hardillb/fix-broken-headers-tests

Add missing property to node object HTTPRequest
This commit is contained in:
Nick O'Leary
2022-09-02 20:46:22 +01:00
committed by GitHub
2 changed files with 72 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ in your Node-RED user directory (${RED.settings.userDir}).
if (n.paytoqs === true || n.paytoqs === "query") { paytoqs = true; }
else if (n.paytoqs === "body") { paytobody = true; }
node.insecureHTTPParser = n.insecureHTTPParser
var prox, noprox;
if (process.env.http_proxy) { prox = process.env.http_proxy; }