in reply to mech and NTLM authentication?

use Authen::NTLM; (which you never use) should be use LWP::Authen::Ntlm;.

Also, the documentation states you need to pass keep_alive => 1 to LWP::UserAgent's constructor (which you can do by passing it to WWW::Mechanize's constructor).

Replies are listed 'Best First'.
Re^2: mech and NTLM authentication?
by Anonymous Monk on Feb 12, 2009 at 19:01 UTC
    I've made the changes but still receive a 401 error. Is there anyway to debug this further?
      I never used NTLM and I've never had to debug LWP/Mechanize, sorry.
        I think I might have found the issue...the site is an internal site yet mechanize is still trying to use the proxy. Any idea how to disable that?

        I thought maybe $mech->no_proxy() but that doesn't work.