node.js - cookie in redirected response -


as shown in image below, trying set-cookie in first redirect#1 response.

i succeed response request module setting followredirect false in request options, still not set-cookie header.

a similar discussion here: https://github.com/request/request/issues/1502

anyone has managed use other module cookie redirected response? lot in advance!


image

response.headers['set-cookie'] should return values want.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -