Daun Jaun
11/9/2004 6:13:00 PM
Hi all,
This is my first mail to this mailing list;
It will be nice if any one can tell me how to post cookies to a url;
I have done something like this
hdr['cookies']= "a_string_representation_of_all_the_cookies"
# I am not sure about the above step because I havenot found any example which
# posts headers along with cookies in Pragmatic..Ruby
h=Net::HTTP.new('www.isical.ac.in',80)
resp,data=h.post(path,query,hdr)
But i am getting error page from the server;
It says "parameter format error"
Is there any library routine for converting array of cookies to format
that post is expecting
Please Help..,
Thanx in advance
Daun Jaun