in reply to Re^2: NTLM authentication fails with WWW:Mechanize, fine with LWP::UserAgent
in thread NTLM authentication fails with WWW:Mechanize, fine with LWP::UserAgent
Both are up-to-date via activestate's ppms.
Then they are not up-to-date (at least WWW::Mechanize isn't up to date, the version on activestate's repository is ancient).
I'm not sure how to turn on debugging though, I've tried
perldoc LWP::Debug
use LWP::UserAgent; $ua = LWP::UserAgent->new; $ua->default_header('Accept-Encoding' => scalar HTTP::Message::decodab +le()); $ua->add_handler("request_send", sub { shift->dump; return }); $ua->add_handler("response_done", sub { shift->dump; return }); $ua->get("http://www.example.com");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: NTLM authentication fails with WWW:Mechanize, fine with LWP::UserAgent
by reasonablekeith (Deacon) on May 22, 2009 at 14:23 UTC | |
by Anonymous Monk on May 22, 2009 at 15:01 UTC | |
by Anonymous Monk on May 22, 2009 at 15:08 UTC |
In Section
Seekers of Perl Wisdom