mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
(re)add node.insecureHTTPParser)
This commit is contained in:
parent
d31abda28f
commit
de27968e4e
@ -100,6 +100,8 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
|||||||
if (n.paytoqs === true || n.paytoqs === "query") { paytoqs = true; }
|
if (n.paytoqs === true || n.paytoqs === "query") { paytoqs = true; }
|
||||||
else if (n.paytoqs === "body") { paytobody = true; }
|
else if (n.paytoqs === "body") { paytobody = true; }
|
||||||
|
|
||||||
|
node.insecureHTTPParser = n.insecureHTTPParser
|
||||||
|
|
||||||
let proxyConfig = n.proxy ? RED.nodes.getNode(n.proxy) || {} : null
|
let proxyConfig = n.proxy ? RED.nodes.getNode(n.proxy) || {} : null
|
||||||
const getProxy = (url) => {
|
const getProxy = (url) => {
|
||||||
const proxyOptions = Object.assign({}, RED.settings.proxyOptions);
|
const proxyOptions = Object.assign({}, RED.settings.proxyOptions);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user