Lines Matching refs:scheme
293 if proxies and self.scheme == "file":
295 "proxies", scheme=self.scheme)
313 if self.scheme not in SSL_SCHEMES and filename:
315 "ssl_cert", scheme=self.scheme)
326 if self.scheme not in SSL_SCHEMES and filename:
328 "ssl_key", scheme=self.scheme)
362 scheme, netloc, path, params, query = \
365 self.__scheme = scheme.lower()
385 # Normalize URI scheme.
386 uri = uri.replace(scheme, self.__scheme, 1)
409 """Change the scheme of this uri."""
412 scheme, netloc, path, params, query, fragment = \
414 if new_scheme == scheme:
422 scheme, netloc, path, params, query, fragment = \
424 if scheme != "file":
432 scheme, netloc, path, params, query, fragment = \
434 if scheme == "file":
468 def scheme(self):
469 """The URI scheme."""
632 if proxy and self.scheme == "file":
634 "proxy", scheme=self.scheme)