Well at about 2am I figured it out. Turns out that there is an easier
method of doing http auth that isn't documented in the usual places and it
doesn't require you to pass it the URI or Realm.
For the record:
- I had the correct Realm set.
- The server did come back with a 401
Or at least as far as I could tell. I dunno, mabe the caffine buzz had me
seeing things.
Anyways, hidden in the lwpcook POD, was this line:
$request->authorization_basic($uname, $passwd);
which replaces the $ua->credentials() that we're all familar with. The
beauty of it is that it doesn't require the realm like the credentials
method does. And more importantly it works for me. YMMV.
--
Aaron Turner, Core Developer http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization http://www.linuxkb.org/
Because world domination requires quality open documentation.
aka: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
The difference between `Unstable' and `Usable' is only two characters: NT