mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Revert change to http until we fully deprecate msg/node priorities
Fix to close #582
This commit is contained in:
parent
9c46feb22b
commit
4403a00651
@ -251,7 +251,7 @@ module.exports = function(RED) {
|
|||||||
msg.statusCode = res.statusCode;
|
msg.statusCode = res.statusCode;
|
||||||
msg.headers = res.headers;
|
msg.headers = res.headers;
|
||||||
msg.payload = "";
|
msg.payload = "";
|
||||||
msg.url = url;
|
// msg.url = url; // revert when fully deprecated
|
||||||
res.on('data',function(chunk) {
|
res.on('data',function(chunk) {
|
||||||
msg.payload += chunk;
|
msg.payload += chunk;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user