Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to get cookie from response #63

Closed
goldensunliu opened this issue Aug 12, 2015 · 2 comments
Closed

ability to get cookie from response #63

goldensunliu opened this issue Aug 12, 2015 · 2 comments

Comments

@goldensunliu
Copy link

currently .get is getting from request. It would be awesome if it can also take account of what has been set during the request on its response:

cookies = new Cookies(req, res);
cookies.set( "unsigned", "foo", { httpOnly: false } );
console.log cookies.get( "unsigned" );

this will log undefined

@jonathanong
Copy link
Member

what's the use-case for this?

@dougwilson
Copy link
Contributor

Closing issue due to lack of response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants