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
When the browser sends a request to the server, it folds all the cookies separated by ; character in one header named cookie. i.e. CookieName1=Value1;CookieName2=Value2;.
Given that, It would be great if Cookie.parse() could handle this use-case. Currently, I have to manually split the cookie string and call Cookie.parse() in a loop to get an array of cookies. But a parse(string): Cookie[]|Cookie function would be of great asset IMO.
The text was updated successfully, but these errors were encountered:
When the browser sends a request to the server, it folds all the cookies separated by
;
character in one header namedcookie
. i.e.CookieName1=Value1;CookieName2=Value2;
.Given that, It would be great if
Cookie.parse()
could handle this use-case. Currently, I have to manually split the cookie string and callCookie.parse()
in a loop to get an array of cookies. But aparse(string): Cookie[]|Cookie
function would be of great asset IMO.The text was updated successfully, but these errors were encountered: