Git: http://github.com/dwaite/cookiejar
Author: David Waite
This project is no longer maintained. There may be other gems more appropriate for use which support newer versions of the cookie specifications, or more maintained forks of this gem such as cookiejar2.
The Ruby CookieJar is a library to help manage client-side cookies in pure Ruby. It enables parsing and setting of cookie headers, alternating between multiple 'jars' of cookies at one time (such as having a set of cookies for each browser or thread), and supports persistence of the cookies in a JSON string.
Both Netscape/RFC 2109 cookies and RFC 2965 cookies are supported.
For the Next major release, I would like to accomplish:
- Check against RFC 6265 - HTTP State Management Mechanism, the latest cookie spec which came out after the initial release of cookiejar
- Determine better code structure to encourage alternate persistence mechanisms for cookie jars
The Ruby CookieJar is Copyright © 2009-2014 David Waite, with additional contributions from various authors. Licensing terms are given within the LICENSE file.