 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Franco Guest
|
Posted: Sat Mar 05, 2005 5:29 pm Post subject: Proxy server and TIdHTTP |
|
|
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
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sun Mar 06, 2005 9:04 pm Post subject: Re: Proxy server and TIdHTTP |
|
|
"Franco" <nope (AT) nope (DOT) com> wrote
| Quote: | I am not sure how to do this.
|
TIdHTTP has a ProxyParams property that you can assign the necessary values
to.
| Quote: | Should I expose the TIdHTTP properties: ProxyAuthenticate,
ProxyPassword, ProxyPort, ProxyServer, and ProxyUsername?
|
Yes.
| Quote: | If so, how will I test this?
|
Do you have access to a proxy server? If not, there are plenty of
third-party proxy servers you can download for testing. Or just give it to
your customer and see if it actually works or not.
Gambit
|
|
| Back to top |
|
 |
Franco Guest
|
Posted: Mon Mar 07, 2005 3:06 pm Post subject: Re: Proxy server and TIdHTTP |
|
|
Thanks Remy.
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote
[...]
| Quote: | If so, how will I test this?
Do you have access to a proxy server? If not, there are plenty of
third-party proxy servers you can download for testing. Or just give it
to
your customer and see if it actually works or not.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|