cookie_jar icon indicating copy to clipboard operation
cookie_jar copied to clipboard

I'm having expired cookies loaded using PersistCookieJar

Open aletorrado opened this issue 9 months ago • 3 comments

Hi,

When calling loadForRequest I'm getting cookies that were expired long before even initializing PersistCookieJar with FileStorage.

I was looking into the code and found in PersistCookieJar that the _filter method that seems responsible for filtering expired cookies is only called on _save but not on _load.

Is this an expected behavior? I'm thinking about submitting a PR about this, but wanted to make sure that I was heading to the right direction.

Thanks

aletorrado avatar May 17 '24 12:05 aletorrado