But if you know realm and authentication mechanism, you could try to add an appropriate "Authorization:" header directly to the HTTP::Headers structure of the LWP object; don't know whether that works (i.e. whether LWP ignores that header line on the initial request and behaves standard anyways), but it could be worth a try.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: Forcing LWP authentication
by shmem
in thread Forcing LWP authentication
by drewbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |