1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Detect/set correct method for http proxy

to close #732 — thanks @utaani
This commit is contained in:
Dave Conway-Jones 2015-10-09 09:19:09 +01:00
parent 81e125b7ba
commit 8abd0b1fdf

View File

@ -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];
}