Article View: borland.public.cppbuilder.internet.web
Article #1297Proxy server and TIdHTTP
From: Franco
Date: Sat, 05 Mar 2005 17:29
Date: Sat, 05 Mar 2005 17:29
32 lines
1915 bytes
1915 bytes
Hi again, Maybe you can help me with this one. I have an app which checks for updates through HTTP. All it does is do a GET against an ASP page on my site that will determine if a newer version exists. I use TIdHTTP to do this like so: const AnsiString verCheckPage = "http://www.MYDOMAIN.com/download/updverchk.asp"; const AnsiString URLParams = GetURLParams(); const AnsiString fullURL = verCheckPage + "?" + URLParams; AnsiString response = IdHTTP1->Get(fullURL); Works great, but I just had a customer say: "We have to disable this option because it doesn't work behind our firewall. Can you add an option in the next release to allow users to enter proxy details then we could use this feature?" I am not sure how to do this. Should I expose the TIdHTTP properties: ProxyAuthenticate, ProxyPassword, ProxyPort, ProxyServer, and ProxyUsername? If so, how will I test this? I am not sure how to set up a proxy server to validate that it works as expected. Can you give any directions or point me to a web-resource that will help? Thank you. Frank
Technical Details
Message-ID:
<4229ec17$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!noris.net!news.n-ix.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,524546972dd5c87,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Franco" <nope@nope.com> Newsgroups: borland.public.cppbuilder.internet.web Subject: Proxy server and TIdHTTP Date: Sat, 5 Mar 2005 09:29:43 -0800 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 24.84.52.90 Message-ID: <4229ec17$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110043671 24.84.52.90 (5 Mar 2005 09:27:51 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!noris.net!news.n-ix.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail