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
Now that whatwg/fetch#1346 is landed, the fetch() spec has a new response.headers.getSetCookie() method for getting individual (non-combined) set-cookie headers.
We should detect the presence of getSetCookie() and call it when available.
Additionally the documentation should be cleaned up to clarify that splitCookiesString() is only necessary when working with older implementations.
The text was updated successfully, but these errors were encountered:
nfriedly
changed the title
Document usage with new fetc() spec
Add support for getSetCookie() method
Feb 10, 2023
Now that whatwg/fetch#1346 is landed, the
fetch()
spec has a newresponse.headers.getSetCookie()
method for getting individual (non-combined) set-cookie headers.We should detect the presence of
getSetCookie()
and call it when available.Additionally the documentation should be cleaned up to clarify that
splitCookiesString()
is only necessary when working with older implementations.The text was updated successfully, but these errors were encountered: