Re: Autoproxy behind a corporate firewall that uses a website to configure proxy
- From: Pat Thoyts <cnggublgf@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jun 2008 11:18:14 GMT
jalitt@xxxxxxxxx writes:
Hello,
I am a tcl user behind a corporate firewall. I'd like to develop an
app that communicates with a server outside of the firewall, and I'd
like to write this app in tcl. The only problem is that autoproxy
does not work because my company stores proxy info on a website. IE
knows the url and uses it just fine, but autoproxy seems unable to do
so. Is there anyway to grab the proxy info from that site and
configure the http package accordingly?
A general solution to this is to use IE or the XMLHttpRequest object
via its automation interface as these IE objects already know how to
read such proxy information. Using libcurl might be another solution.
In http://www.patthoyts.tk/programming/tclole05src.zip there is a
rough re-implementation of the http package using MSXML.XMLHTTP as the
transport to work with proxies on windows like this. It may be worth
examining (library/http.tcl and demo/*)
--
Pat Thoyts http://www.patthoyts.tk/
To reply, rot13 the return address or read the X-Address header.
PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
.
- Follow-Ups:
- Re: Autoproxy behind a corporate firewall that uses a website to configure proxy
- From: Alexandre Ferrieux
- Re: Autoproxy behind a corporate firewall that uses a website to configure proxy
- From: Alexandre Ferrieux
- Re: Autoproxy behind a corporate firewall that uses a website to configure proxy
- References:
- Prev by Date: Re: Proper usage of the hash-bang line
- Next by Date: Re: Capturing "stdout" into a text widget
- Previous by thread: Re: Autoproxy behind a corporate firewall that uses a website to configure proxy
- Next by thread: Re: Autoproxy behind a corporate firewall that uses a website to configure proxy
- Index(es):
Relevant Pages
|