good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: WWW::Mechanize and proxy with username/passwordby perlhack (Acolyte) |
on Jun 26, 2003 at 18:33 UTC ( [id://269356]=note: print w/replies, xml ) | Need Help?? |
Michael, I need to authenticate with a username and password with my proxy. I think your code does not have this part which is my problem.
tcf22, I was able to take my code and replace LWP::UserAgent with WWW::Mechanize to do a get or fetch of a web page and that worked ok. But the other "Mechanize" capabilities of WWW::Mechanize dont seem to remember or inherit or know how to pass my username and password with its requests to the web via the proxy server. There must be a way but I cant seem to figure it out and haven't been able to find an example WWW::Mechanize script that has proxy with username/password code shown. I guess that is why I am seeking some wisdom. Thanks.
In Section
Seekers of Perl Wisdom
|
|