def getproxies_internetconfig():
        try:
            import ic
        except ImportError:
            return {}

        try:
            config = ic.IC()
        except ic.error:
            return {}
        proxies = {}
        # HTTP:
        if 'UseHTTPProxy' in config and config['UseHTTPProxy']:
            try:
                value = config['HTTPProxyHost']
            except ic.error:
                pass
            else:
                proxies['http'] = 'http://%s' % value
        # FTP: XXXX To be done.
        # Gopher: XXXX To be done.
        return proxies
Return a dictionary of scheme -> proxy server URL mappings.
dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/urllib.py/getproxies_internetconfig