You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say you have a website at "foo.server.com", and you set a cookie called "session" with the domain "foo.server.com". Then you set a second cookie called "session" with the domain ".server.com". You might expect one cookie to overwrite the other, but actually what happens is the browser will send you both cookies. It seems like cookies right now can only parse the first one, but there are use cases where you want to retrieve both of them.
constrequest={headers: {cookie: "foo=bar; foo=baz"}};cookies=newCookies(request,null,{});cookies.get('foo');// Returns 'bar', but what happened to 'baz'?