mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	pass original url request through http request node
(will be useful when we handle errors... ;-)
This commit is contained in:
		| @@ -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; | ||||
|                 }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user