From 8abd0b1fdf93dc3c054337cd5572c5a5a52b0a50 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 9 Oct 2015 09:19:09 +0100 Subject: [PATCH] Detect/set correct method for http proxy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to close #732 — thanks @utaani --- nodes/core/io/21-httpin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/nodes/core/io/21-httpin.js b/nodes/core/io/21-httpin.js index b98c61153..68458220c 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -391,6 +391,7 @@ module.exports = function(RED) { opts = urllib.parse(prox); opts.path = opts.pathname = path; opts.headers = heads; + opts.method = method; //console.log(opts); urltotest = match[0]; }