Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Cookie jar #3

Open
zkat opened this issue Apr 1, 2017 · 3 comments
Open

Cookie jar #3

zkat opened this issue Apr 1, 2017 · 3 comments

Comments

@zkat
Copy link
Owner

zkat commented Apr 1, 2017

Use tough-cookie as the default cookie jar, and allow users to pass in their own cookie jar or disable cookie support entirely.

@zkat
Copy link
Owner Author

zkat commented Apr 1, 2017

Note: this probably means we'll need to do the redirect on our side rather than leaving it to node-fetch, since intermediate cookies are a thing and node-fetch has no hook for it.

@zkat
Copy link
Owner Author

zkat commented May 13, 2017

This might be pretty doable once #26 is fixed 🎉

@tigt
Copy link

tigt commented Nov 4, 2021

Would this complicate the cache logic? I’d love to use it if it became a feature/help make it a feature, but I’m unsure about the interactions between cookies, cache-control: private, and the credentials argument.

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

No branches or pull requests

2 participants