make-fetch-happen icon indicating copy to clipboard operation
make-fetch-happen copied to clipboard

Cookie jar

Open zkat opened this issue 7 years ago • 3 comments

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

zkat avatar Apr 01 '17 11:04 zkat

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 avatar Apr 01 '17 21:04 zkat

This might be pretty doable once #26 is fixed 🎉

zkat avatar May 13 '17 00:05 zkat

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.

tigt avatar Nov 04 '21 21:11 tigt