Displaying 4 results from an estimated 4 matches for "cookie_jar".
2007 Feb 05
2
adding a cookie
...339294p;path=/;domain=.venere.com;expire=0'';
[...]
can you give me an hint on how to add a cookie to the cookie jar?
I tried
js_cookie =
WWW::Mechanize::Cookie.new(''/'',"vhp_js=v1847355112h431970412p;path=/;domain=.venere.com;expire=0")
so that I can do
agent.cookie_jar.add('''',js_cookie)
but this is not parsing the cookie in the way I expect it
thanks
Claudio
2006 Feb 14
0
rubyforge-0.1.1
..., -h
this message
--config , -c
specify a config file (default /home/ahoward/.rubyforge/config.yml)
--username , -u
specify username, taken from config otherwise
--password , -p
specify password, taken from config otherwise
--cookie_jar , -C
specify cookie storage file (default /home/ahoward/.rubyforge/cookie.dat)
add_release :
--is_private , -P
if true, release is not public
--release_date , -r
specify time of release (default ''now'')
--type_id , -t...
2007 Oct 26
2
Post problems
Hello,
I''m having trouble using mechanise to post a form. I took a wireshark
capture of the form being submitted by firefox and by mechanise. In
both there is an HTTP Post and then a ''continuation of non-http
traffic'' packet. The obvious difference is that the firefox
continuation packet has some http metadata (I don''t know the proper
terminology) where the
2010 Sep 01
4
NoMethodError: undefined method `force_encoding' for "Conten
...require
"test/test_authenticate.rb"; require "test/test_bad_links.rb"; require
"test/test_blank_form.rb"; require "test/test_checkboxes.rb"; require
"test/test_content_type.rb"; require "test/test_cookie_class.rb";
require "test/test_cookie_jar.rb"; require "test/test_cookies.rb";
require "test/test_encoded_links.rb"; require "test/test_errors.rb";
require "test/test_field_precedence.rb"; require
"test/test_follow_meta.rb"; require "test/test_form_action.rb"; require
"t...