code: def open_unknown_proxy(self, proxy, fullurl, data=None):
          
          type, url = splittype(fullurl)
          raise IOError('url error', 'invalid proxy for %s' % type, proxy)
docs: Overridable interface to open unknown URL type.