New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http/cookiejar: add a disk backed persistent CookieJar #36921
Comments
CC @nigeltao |
Quoting https://groups.google.com/d/msg/golang-nuts/7mf8z9bbEcY/bIjQBjePsVUJ from 2015:
|
but there is possibility right (?)
|
There is a possibility, but it's not going to happen by just waiting for me to get around to it. |
Hi, I'm the author of cookiestxt. |
If you're talking about adding code to the Go standard library, the hard part isn't decoding/encoding the cookies text format. The hard part is designing an API that allows the persistent storage to be a text format, an SQLite database, other binary formats, etc. There may be thousands of cookies accumulated over months but, ideally, we'd still like better-than-O(N) lookup without first having to load all the cookies into memory. For persistent cookie storage, it should ideally also help handle the case where the Public Suffix List can change in between saving and loading the cookies. See: |
Has anyone made this? |
hi mr, sorry for this silly issue, but can we have this feature in Go ?, i think as a battery-included language, we should have this feature mr.
nb : Python has this feature by the way, https://docs.python.org/3/library/http.cookiejar.html#http.cookiejar.FileCookieJar
The text was updated successfully, but these errors were encountered: