in reply to Re^2: A case where Mechanize works, LWP doesn't
in thread A case where Mechanize works, LWP doesn't
While LWP has cookie support, it is not enabled by default. While LWP has support for sending the Referer header, it does not do so by default. WWW::Mechanize basically provides defaults as a web browser would have them to LWP.
As was mentioned below, get a network sniffer and compare the stream that your LWP implementation sends agasint what your WWW::Mechanize implementation sends. The differences are likely what makes your LWP implementation fail.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: A case where Mechanize works, LWP doesn't
by dneedles (Sexton) on Feb 10, 2010 at 20:07 UTC | |
by Corion (Patriarch) on Feb 10, 2010 at 20:12 UTC | |
by dneedles (Sexton) on Feb 10, 2010 at 20:39 UTC |