in reply to Re^8: WWW::Mechanize Problem
in thread WWW::Mechanize Problem
Hi ikegami (Cardinal) and all Monks,
.oO( I'd rather be a Chickadee )
From the docs for credentials
Instead ofThe $netloc is a string of the form "<host>:<port>".
you should be using$ua->credentials('goweb.corp.global.level3.com/sites/ti_nm/tni/default +.aspx:80', ...);
$ua->credentials('goweb.corp.global.level3.com:80', ...);
That sets the user/passwd for all requests to that server, including http://goweb.corp.global.level3.com/sites/ti_nm/tni/default.aspx.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: WWW::Mechanize Problem
by Anonymous Monk on Apr 08, 2009 at 18:52 UTC | |
by ikegami (Patriarch) on Apr 08, 2009 at 18:59 UTC | |
by venkatesan_G02 (Sexton) on Apr 08, 2009 at 19:04 UTC | |
by Anonymous Monk on Apr 08, 2009 at 18:57 UTC | |
by ikegami (Patriarch) on Apr 08, 2009 at 19:06 UTC | |
by venkatesan_G02 (Sexton) on Apr 08, 2009 at 19:29 UTC | |
by ikegami (Patriarch) on Apr 08, 2009 at 21:10 UTC | |
|