Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- John Stumbles
May 27, 2005, 10:56 pm
rate this thread
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