in reply to WWW::Mechanize::Firefox save_url doesn't send cookies
Thanks for the report! I had also assumed that the cookies are sent automatically, but if that's not the case, I think you will have to look at nsICookieService and ask it to tell you the cookie string that is to be sent as additional headers. If I get around to writing a self-contained testcase, I'll test this out and then add it to WWW::Mechanize::Firefox, but I don't see a quick workaround other than using ->get instead of ->save_url - and ->get may or may not save the target, depending on your Firefox setup.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize::Firefox save_url doesn't send cookies
by tcordes (Novice) on Mar 08, 2011 at 22:41 UTC | |
by Corion (Patriarch) on Mar 08, 2011 at 22:58 UTC | |
by tcordes (Novice) on Mar 09, 2011 at 19:31 UTC |