758 has added cookie restore support for CookieJar. However, it's not possible to use it with CookieSession.
CookieJar restoration is implemented with a static method LoadFrom, which always creates a new CookieJar instance. This doesn't work well with CookieSession, which initializes its own CookieJar instance and can't be replaced.
Is it possible to support cookie restoration in CookieSession as well?
758 has added cookie restore support for CookieJar. However, it's not possible to use it with
CookieSession
.CookieJar
restoration is implemented with a static methodLoadFrom
, which always creates a newCookieJar
instance. This doesn't work well withCookieSession
, which initializes its ownCookieJar
instance and can't be replaced.Is it possible to support cookie restoration in
CookieSession
as well?