Cookie parsing and serializing is tuff. Most often you need a cookie plugin for whatever reason and dose are downloaded milion of times / week on npm
Adding a memory based CookieStore that can be constructed using new CookieStore() in some form would be beneficial. I'm just imagining http, https, http2 and fetch to have support for passing in own custom CookieStore parameter somewhere for it to be used somehow
What is the problem this feature will solve?
Cookie parsing and serializing is tuff. Most often you need a cookie plugin for whatever reason and dose are downloaded milion of times / week on npm
Adding a memory based CookieStore that can be constructed using
new CookieStore()
in some form would be beneficial. I'm just imagining http, https, http2 and fetch to have support for passing in own custom CookieStore parameter somewhere for it to be used somehowPublicación original de @jimmywarting en https://github.com/nodejs/node/issues/42183