Urllib3#
Classes:
|
A drop-in replacement for urllib3.PoolManager that uses Junction for endpoint discovery and load-balancing. |
- class junction.urllib3.PoolManager(
- num_pools: int = 10,
- headers: Mapping[str, str] | None = None,
- default_routes: List[Route] | None = None,
- default_backends: List[Backend] | None = None,
- junction_client: Junction | None = None,
- **kwargs: Any,
A drop-in replacement for urllib3.PoolManager that uses Junction for endpoint discovery and load-balancing.
Methods:
urlopen
(method, url[, redirect])Same as
urllib3.HTTPConnectionPool.urlopen()
with custom cross-host redirect logic and only sends the request-uri portion of theurl
.