proxies - detect, parse and download .pac files

rodney tamblyn rodney at infiny.co.nz
Wed Mar 9 23:19:35 EST 2005


I regularly find customers requesting support for issues related to 
proxy configuration with revolution-based applications.  Revolution 
automatically detects proxies on startup, and you can also easily set 
proxy information using  httpheaders or via the new liburl 
authentication call-back routines - all this is fine, and I provide 
preference settings for users to enter their proxy settings.   Users 
often don't know this information, so I also provide a proxy 
auto-detect which gets proxy info from the Windows registry.

The problem comes with proxies configured via proxy.pac files.   The 
proxy info is not stored in the registry, and I'm not quite sure how to 
automatically detect and download the pac file.  Once downloaded it 
would have to be parsed and the proxy info extracted - shouldn't be too 
hard to do.

Before I investigate further - has anyone here done this already, if so 
can you provide an example stack and/or comments.

Thanks

Rodney
--
Rodney Tamblyn
OceanBrowser Ltd
44 Melville Street
Dunedin, New Zealand
Ph +64-3-4778606 extension 1
Technical Support: +64-3-4778606 ext. 5 (Mon-Friday 9-5pm NZ time)
iax2:oceanbrowser.dyndns.info/rodney
http://www.oceanbrowser.com/



More information about the use-livecode mailing list