T
Thufir
How do you create a cookiejar? I googled:
ruby cookiejar example create help -bowling -rails -python -java -php
-pottery -ceramic -lyric -lyrics
and just can't find an example. Here's what I have:
require 'rubygems'
require 'curb'
require 'cgi'
cookie = CGI::Cookie.new
("SID","domain=.google.com","path=/","expires=1600000000")
puts cookie.inspect
puts cookie.to_s
#add cookie to cookiejar, and use curb
#c = Curl::Easy.http_post "https://www.google.com/accounts/
ClientLogin",
How can I do that without cgi?
thanks,
Thufir
ruby cookiejar example create help -bowling -rails -python -java -php
-pottery -ceramic -lyric -lyrics
and just can't find an example. Here's what I have:
require 'rubygems'
require 'curb'
require 'cgi'
cookie = CGI::Cookie.new
("SID","domain=.google.com","path=/","expires=1600000000")
puts cookie.inspect
puts cookie.to_s
#add cookie to cookiejar, and use curb
#c = Curl::Easy.http_post "https://www.google.com/accounts/
ClientLogin",
How can I do that without cgi?
thanks,
Thufir