minor fix

This commit is contained in:
nakanishi
2018-12-04 15:46:46 +00:00
parent 4eb3bd496b
commit 32d9acdaa5
2 changed files with 17 additions and 16 deletions

View File

@@ -265,6 +265,7 @@ module.exports = function(RED) {
msg.responseUrl = res.request.uri.href;
msg.payload = body;
msg.redirectList = redirectList;
if (msg.headers.hasOwnProperty('set-cookie')) {
msg.responseCookies = extractCookies(msg.headers['set-cookie']);
}