TWebClientConnection and authentication

Hi


Trying to connect to an apache that is set up with authentication and can not get the username and password configured in the WebClientConnection parameters to work. Using no security works but as soon as I set the username and password active, not data is retrieved.

How is the authentication settings used and are there any examples using this supplied with the Web Core 1.2.4.1 ? Tried to use a fiddler proxy but could not see any header/authentication information from the connection.

Regards
Eirik Nesje

When both the properties User & Password are set, the URL is opened with these settings.

This boils down to underlying using XMLHttpRequest with a username & password:
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open

When you use this with your server and it fails, what exact error message do you see in the console?