LWP::UserAgent credentials netloc and realm
Googling for how to get this to work I found that I'm not the only one to
have difficulties. I eventually found the answer at
Summary: you have to include the port no in the 'netloc' variable e.g.
credentials("http://abc.com:80", "realm", "uname", "passwd");
The other thing that threw a lot of people, including me, was what exactly
'netloc' and 'realm' are. 'realm' is whatever the server is configured to
ask you e.g. "Enter username and password for foo at abc.com".
It would be nice to have this explained in the docs but as a 2nd best I hope
this will come up closer to the top of a google search for anyone asking in
|All times are GMT. The time now is 01:44 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.