Add missing property to node object HTTPRequest

Also add tests for broken headers
This commit is contained in:
Ben Hardill
2022-08-14 15:02:39 +01:00
parent 5365786386
commit 30956b5441
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; }