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

pass original url request through http request node

(will be useful when we handle errors... ;-)
This commit is contained in:
dceejay 2015-02-24 13:20:33 +00:00
parent 63191bc641
commit b8c460b825

View File

@ -251,6 +251,7 @@ module.exports = function(RED) {
msg.statusCode = res.statusCode;
msg.headers = res.headers;
msg.payload = "";
msg.url = url;
res.on('data',function(chunk) {
msg.payload += chunk;
});