Open postmodern opened 1 year ago
I would like to work on this. Can you assign it to me? @postmodern
@Aniket-508 unfortunately, no. In the past whenever I assigned an issue to a new contributor they always disappeared and the issue never got completed.
Hey, I promise it will be completed within max 3 days. I genuinely want to contribute.
@Aniket-508 feel free to start working on this issue, but be warned there are a lot of edge-cases with implementing a CookieJar claass, such as querying cookies by Domain
(.example.com
also matches sub-domains of example.com
) and Path
attributes. This code will need full YARD documentation and RSpec tests, which should test every edge-case of every public method. I'm not sure how much Ruby experience you have, but will probably take at least a week of work.
Add a
CookieJar
class which can organize cookies, and query the cookies for a given URL, matching the URL's host and path to the cookie'sDomain
andPath
constraints. This will allow us to add acookie_jar:
option toRonin::Support::Network::HTTP#initialize
and transparently track session cookies.