🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #634

HELP! Authentication Bug in THTTPRio.

#634
From: 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.
Technical Details
Message-ID: <448609ff$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6ebaaba89d7c2afc,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Borland Lover" <kdhf@kbdf.com>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: HELP! Authentication Bug in THTTPRio.
Date: Tue, 6 Jun 2006 16:04:26 -0700
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 207.61.87.125
Message-ID: <448609ff$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149635071 207.61.87.125 (6 Jun 2006 16:04:31 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail