in reply to LWP::Curl and CURLOPT_USERPWD
Looking at the source code, it seems that LWP::Curl doesn't pass through all options to Net::Curl::Easy but only the ones it knows about.
You should be able to set the additional options by using:
$lwpcurl->{agent}->setopt( CURLOPT_USERPWD, "$user:$password" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LWP::Curl and CURLOPT_USERPWD
by wanderedinn (Sexton) on Jun 06, 2016 at 18:07 UTC | |
by Corion (Patriarch) on Jun 06, 2016 at 18:08 UTC | |
by wanderedinn (Sexton) on Jun 06, 2016 at 19:23 UTC | |
by Corion (Patriarch) on Jun 06, 2016 at 20:23 UTC | |
by wanderedinn (Sexton) on Jun 06, 2016 at 20:33 UTC | |
|