juju / persistent-cookiejar

cookiejar is a fork of net/http/cookiejar that allows serialisation of the stored cookies
BSD 3-Clause "New" or "Revised" License
113 stars 76 forks source link

fix Cookies(url) #16

Closed natefinch closed 8 years ago

natefinch commented 8 years ago

The cookies returned from Cookies(url) were invalid for use in calling RemoveCookie.

natefinch commented 8 years ago

Yep, I'll abandon it. The changes to cookies returned by Cookies(u) are incompatible with the way the CookieJar is expected to be used. This is an unfortunate design decision, but I guess there's nothing that can be done about it for now. I'll put up a different PR with a RemoveCookies(url) method.