Lines Matching defs:proxy
162 trailing_slash=True, proxy=None, system=False, proxies=None,
181 # The proxy parameter is deprecated and remains for backwards
184 if proxy and proxies:
186 "'proxy' values were used to create a "
189 if proxy:
190 self.proxies = [ProxyURI(proxy)]
276 def __set_proxy(self, proxy):
277 if not proxy:
279 if not isinstance(proxy, ProxyURI):
280 p = ProxyURI(proxy)
282 p = proxy
288 for proxy in proxies:
289 if not isinstance(proxy, ProxyURI):
291 "proxies", value=proxy)
302 # for now, we only support a single proxy per RepositoryURI
379 not misc.valid_pub_url(uri, proxy=is_proxy):
455 proxy = property(__get_proxy, __set_proxy, None, "The proxy to use to "
482 """A class to represent the URI of a proxy. The 'uri' value can be
493 publisher as the proxy. Note that this method modifies the
519 "True, if we should use the system publisher as a proxy.")
548 trailing_slash=True, proxy=None, system=False):
552 self.proxy = proxy
561 self.proxy == other.proxy
563 return self.uri == other and self.proxy == None
569 self.proxy != other.proxy
571 return self.uri != other or self.proxy != None
587 return self.proxy < other.proxy
600 return self.proxy > other.proxy
614 The key is a (uri, proxy) tuple, where the proxy is
615 the proxy used to reach that URI. Note that in the transport
616 system, we may choose to override the proxy value here.
628 def __set_proxy(self, proxy):
632 if proxy and self.scheme == "file":
634 "proxy", scheme=self.scheme)
635 if proxy:
636 self.__proxy = proxy.rstrip("/")
639 # Changing the proxy value causes us to clear any cached
644 """Returns the proxy that should be used at runtime, which may
645 differ from the persisted proxy value. We check for http_proxy,
650 # we don't permit the proxy used by system publishers to be
653 return self.proxy
661 """The runtime proxy value is always computed dynamically,
685 proxy=p.uri)
696 proxy = property(lambda self: self.__proxy, __set_proxy, None,
697 "The proxy that is used to access this repository."
702 "The proxy to use to access this repository. This value checks"