Yes, in the README:
"The?Mechanize?library is used for automating interaction with
websites.?Mechanize?automatically stores and sends cookies, follows redirects,
and can follow links and submit forms. Form fields can be populated and
submitted.?Mechanize?also keeps track of the sites that you have visited as a
history."
?
Sent from Mailbox for iPhone
On Thu, Feb 28, 2013 at 6:09 PM, Jack Royal-Gordon
<jack at groundbreakingsoftware.com> wrote:
> I could not find the answer to this question in the Mechanize docs
(although I did find that WWW:Mechanize in PERL does do this): Are cookies
received from one request handled by the Mechanize Agent automatically sent with
the next request to the same instance of the agent (and same domain)?
> In other words, if I do agent.get(''www.somewebsite.com''),
receive a response, and then do
agent.get(''www.somewebsite.com/anotherpage''), will the cookies
that were received with the response to the first request be sent with the
second request?
> It makes sense that Mechanize would do so, since that would simulate the
effect of running those two requests in a browser, but I thought I''d
confirm since I''m having a problem with a website giving me
''500''s and I know that the website uses cookies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/mechanize-users/attachments/20130228/b7d653a4/attachment.html>