🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
1 messages
1 total messages Started by Borland Lover Tue, 06 Jun 2006 23:04
HELP! Authentication Bug in THTTPRio.
#634
Author: Borland Lover
Date: Tue, 06 Jun 2006 23:04
31 lines
1888 bytes
BCB6 Patched.

Client side of a web-service I need to specify Proxy and Proxy User Name and 
Password for basic authentication.

I modified the import to include these details in the web node property of 
the THTTPRio object as follows:

THTTPRIO* rio = new THTTPRIO(0);
rio->URL = addr;

if (UseProxy)
{
    rio->HTTPWebNode->Proxy = ProxyServerName + ":" + IntToStr(ProxyPort);
    if (UseProxyAuth)
    {
        rio->HTTPWebNode->UserName = ProxyUserName;
        rio->HTTPWebNode->Password = ProxyPassword;
    }
}

I can see from my test proxy server that the request gets sent to the 
correct server and port and forwarded appropriately, however there is no 
line for Authentication : Basic and the resulting Base64 encoded string of 
user name and password.

I have searched the groups and see that the problem has come up before - but 
I do not see any resolution to it.  For example, see:
http://tinyurl.com/n6aym

This is really urgent - any help appreciated.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads