Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: Am i behind a proxy ?
| Subject: | Re: Am i behind a proxy ? |
| Posted by: | "Steve McGrath" (smcgrath@no-spam.org) |
| Date: | Sun, 24 Dec 2006 16:41:37 |
Remy Lebeau (TeamB) wrote:
actually sending it. So you have to set the proxy
> settings beforehand.
>
> I do not understand why this is so hard to understand. I will repeat it
> again for absolute clearity - there is NO WAY to programmably determine
> whether a proxy is needed for any given request. A connection could fail
> for ANY number of reasons, NONE of which will report that a proxy is
> specifically needed. The user MUST provide that information somewhere,
> especially since there are several values involved to begin with (the proxy
> IP/port, the username/password and authentication model, the proxy protocol,
> etc). Your code can then configure TIdHTTP accordingly before sending
> requests afterwards.
>
>
> Gambit
>
Remy,
What if the proxy is being automatically detected by browser (IE
Autodetect Proxy setting). In this instance can Indy also autodetect?
Steve