in reply to Handling htaccess prompts with Mechanize (or something similar)

Basicauth is handled through the base class, LWP::UserAgent. Specifically look at the credentials method, and provide the proper credentials. The tricky part (in my experience) is getting the right $netloc and $realm.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re: Handling htaccess prompts with Mechanize (or something similar)