Commit graph

6 commits

Author SHA1 Message Date
Akinori MUSHA
1f5eb6bc7f Introduce an abstraction layer for saving (serializing) CookieJar.
CookieJar#save is the new name for the now obsolete #save_as.

CookieJar#save and #load now accept IO-like instead of a filename.

Change the YAML file format, and make #load discard incompatible data.
2013-03-15 04:20:59 +09:00
Akinori MUSHA
a831fc424c Add HTTP::Cookie#set_cookie_value, and alias #cookie_value to #to_s. 2013-03-15 04:20:59 +09:00
Akinori MUSHA
87bd991a81 Put a couple of to-do items I am working on. 2013-03-08 21:31:11 +09:00
Akinori MUSHA
3d7b39ff86 Update the example code. 2012-10-17 22:40:20 +09:00
Akinori MUSHA
ad42622d3b Fix a bad example that blindly eats a cookie without checking the origin. 2012-10-14 22:19:59 +09:00
Akinori MUSHA
060fc63c2a Import cookie related stuff from Mechanize. 2012-10-14 18:52:52 +09:00