Re: [whatwg/fetch] [Feature request] Add a `CookieStore` option to `Request` & `Response` (Issue #1384)

Revadike left a comment (whatwg/fetch#1384)

What if we try to mimic the browser API by using the `credentials` option:
* `'omit'`: the current behavior, not doing anything with `set-cookie` headers
* `'include'`: the new default? Handle cookie jar internally, and save all cookies by default
* `CookieJar`: pass a cookiejar instance yourself, this will be a node.js exclusive feature. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1384#issuecomment-4039210334
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1384/4039210334@github.com>

Received on Wednesday, 11 March 2026 13:28:20 UTC