From: Ulrike S. <ul...@go...> - 2005-10-20 09:39:26
|
Michael Beddow wrote: >I suspect the realm would be "exist" as it is for WEBDAV, but it shouldn't >be needed (http uses it only to remind a human client of what the >authentication domain is, machines are supposed to know already) > I had no luck with the credentials method of LWP::UserAgent using "exist" as realm. > my $ua = LWP::UserAgent->new(); > my $req = HTTP::Request->new(POST => $URL); > $req->content_type('text/xml'); > $req->content($QUERY); > $req->authorization_basic('guest', 'guest'); > my $res = $ua->request($req); > But the authorization_basic method works wonderfully, thanks a lot! Uli |