Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Forcing LWP authentication

by drewbie (Chaplain)
on Oct 23, 2006 at 13:45 UTC ( [id://580033]=note: print w/replies, xml ) Need Help??


in reply to Re: Forcing LWP authentication
in thread Forcing LWP authentication

Thanks for the replies so far. In my case, I'm using RT::Client (not sure if it's on CPAN - I think $work paid Best Practical to write it). It uses a custom LWP UserAgent class so it (hopefully) should be straightforward to add a header on outgoing requests. Now I just need to dive into LWP to figure out how to set headers.
my $rv = $self->SUPER::new(%args); $rv->ua( LWP::UserAgent::RTClient->new($rv) ); $rv->ua->{keep_alive} = 1; $rv->ua->{requests_redirectable} = [ qw( GET HEAD OPTIONS ) ];
Thanks,
Drew

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://580033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-24 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found