http basic auth ?
Timothee Besset <[email protected]>
| Newsgroups | gmane.comp.lib.libwww |
|---|---|
| Message-ID | <[email protected]> |
I am trying to load a document from an URL protected behind a basic HTTP auth. I am passing an url like "http://login:pass@host" to HTLoadToFile, and for some reason the Auth module doesn't pick up anything and I keep getting 'Authorization required' error. The above syntax works fine for ftp protocol. But for http, should this work too? Or I should be parsing it and setting up the credentials myself? TTimo