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
1 changed files with 1 additions and 0 deletions

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;
});