[Pyobjc-dev] CFNetworkCopyProxiesForAutoConfigurationScript not available?
Brought to you by:
ronaldoussoren
|
From: Mani G. <ma...@tu...> - 2009-03-30 18:43:43
|
Hi all, CFNetworkCopyProxiesForAutoConfigurationScript is a new API available in 10.5: http://developer.apple.com/releasenotes/Networking/RN-CFNetwork/index.html#//apple_ref/doc/uid/TP40000990-DontLinkElementID_3 However, I don't think it is supported by PyObjC (doesn't show up in the namespace after importing Foundation or CoreFoundation). Any way I can work around this? I have an app built using PyObjC, using Python's urllib2 for HTTP access. urllib2 handles "manual" proxies as configured in System Preferences, but not PAC file proxy configurations. I would like to support PAC files in my application and CFNetworkCopyProxiesForAutoConfigurationScript seemed like the answer, but now I'm struggling. Any ideas greatly appreciated. Cheers, Mani |