| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_vendor/urllib3/__pycache__/ |
Upload File : |
�
�/�c�� � �D � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dlm
Z ddlm
Z
mZmZmZmZmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z" ddl#m$Z$ dd l%m&Z& dd
l'm(Z( ddl)m*Z* ddl+m,Z, dd
l-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ddl7m8Z8 ddl9m:Z: ddl;m<Z<m=Z= ddl;m>Z? ddl;m@Z@mAZA e$jB jC ZC ejD eE� � ZF eG� � ZH G d� deG� � ZIejJ ejK hZL G d� deIe(� � ZM G d� deM� � ZNd� ZOd� Z>dS )� )�absolute_importN)�error��timeout� )�BaseSSLError�BrokenPipeError�DummyConnection�HTTPConnection�
HTTPException�HTTPSConnection�VerifiedHTTPSConnection�port_by_scheme)
�ClosedPoolError�EmptyPoolError�HeaderParsingError�HostChangedError�InsecureRequestWarning�LocationValueError�
MaxRetryError�NewConnectionError�
ProtocolError�
ProxyError�ReadTimeoutError�SSLError�TimeoutError)�six)�queue)�RequestMethods)�HTTPResponse)�is_connection_dropped)�connection_requires_http_tunnel)� LifoQueue)�set_file_position)�assert_header_parsing)�Retry)�CertificateError)�Timeout)�Url�_encode_target)�_normalize_host)�get_host� parse_urlc �: � e Zd ZdZdZeZdd�Zd� Zd� Z d� Z
d� ZdS ) �ConnectionPoola;
Base class for all connection pools, such as
:class:`.HTTPConnectionPool` and :class:`.HTTPSConnectionPool`.
.. note::
ConnectionPool.urlopen() does not normalize or percent-encode target URIs
which is useful if your target server doesn't support percent-encoded
target URIs.
Nc � � |st d� � �t || j �� � | _ |� � � | _ || _ d S )NzNo host specified.��scheme)r r+ r2 �host�lower�_proxy_host�port)�selfr3 r6 s �D/usr/lib/python3/dist-packages/pip/_vendor/urllib3/connectionpool.py�__init__zConnectionPool.__init__K sJ � �� ;�$�%9�:�:�:�#�D���=�=�=�� ��:�:�<�<����� � � � c �P � t | � � j �d| j �d| j �d�S )Nz(host=z, port=�))�type�__name__r3 r6 �r7 s r8 �__str__zConnectionPool.__str__S s* � �)-�d���)<�)<�)<�d�i�i�i�����S�Sr: c � � | S �N� r? s r8 � __enter__zConnectionPool.__enter__V s � ��r: c �. � | � � � dS )NF)�close)r7 �exc_type�exc_val�exc_tbs r8 �__exit__zConnectionPool.__exit__Y s � ��
�
�����ur: c � � dS )�D
Close all pooled connections and disable the pool.
NrC r? s r8 rF zConnectionPool.close^ � � �
�r: rB )r>