Last active
April 21, 2019 10:03
-
-
Save justasm/8f86eab6108183db93ac to your computer and use it in GitHub Desktop.
OkHttp 3 non-persistent CookieJar with an ACCEPT_ALL policy
@haridaniel you're right, cookies should override matching older cookies according to the specs in RFC 6265 5.3 Storage Model.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Smart, but I found a bug: if it stores same cookie with different values, the old ones won't be overwritten but loaded as duplicates on request.