| Server IP : 85.112.90.236 / Your IP : 192.168.1.26 Web Server : Apache System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64 User : ftechme ( 1002) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/lib/python3.12/site-packages/urllib3/__pycache__/ |
Upload File : |
�
�nj\O � � � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dlm
Z ddlm
Z
ddlmZ ddlmZ dd lmZ d dlZej* Z eZ eZddlmZ ddl m!Z! ddl"m#Z#m$Z$m%Z%m&Z& ddl'm(Z(m)Z)m*Z* ddl+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4 ejj e6� Z7ddd�Z8 ejr ddd� Z: ejv d� Z< G d� dee=� Z G d� d e� Z>d!� Z?d"� Z@ G d#� d$e=� ZAeseAZ>e>ZBy# eef$ r dZ G d
� de� ZY ��w xY w# e$ r G d� d
e� ZY ��w xY w# e$ r G d� de� ZY ��w xY w)%� )�absolute_importN)�error)�timeout� )�six)�HTTPConnection)�
HTTPException)�create_proxy_ssl_contextc � � e Zd Zy)�BaseSSLErrorN��__name__�
__module__�__qualname__� � �7/usr/lib/python3.12/site-packages/urllib3/connection.pyr r � � �r r c � � e Zd Zy)�ConnectionErrorNr
r r r r r ! r r r c � � e Zd Zy)�BrokenPipeErrorNr
r r r r r * r r r )�HTTPHeaderDict��__version__)�ConnectTimeoutError�NewConnectionError�SubjectAltNameWarning�SystemTimeWarning)�SKIP_HEADER�SKIPPABLE_HEADERS�
connection)�assert_fingerprint�create_urllib3_context�is_ipaddress�resolve_cert_reqs�resolve_ssl_version�ssl_wrap_socket)�CertificateError�match_hostname�P i� )�http�httpsi� � � z[^-!#$%&'*+.^_`|~0-9a-zA-Z]c �� � � e Zd ZdZed Zej ej dfgZ dZ
dZd� Ze
d� � Zej d� � Zd � Zd
� Zd� Zd� Zd
� Zd� Zd� fd� Zdd�Z� xZS )r a5
Based on :class:`http.client.HTTPConnection` but provides an extra constructor
backwards-compatibility layer between older and newer Pythons.
Additional keyword parameters are used to configure attributes of the connection.
Accepted parameters include:
- ``strict``: See the documentation on :class:`urllib3.connectionpool.HTTPConnectionPool`
- ``source_address``: Set the source address for the current connection.
- ``socket_options``: Set specific options on the underlying socket. If not specified, then
defaults are loaded from ``HTTPConnection.default_socket_options`` which includes disabling
Nagle's algorithm (sets TCP_NODELAY to 1) unless the connection is behind a proxy.
For example, if you wish to enable TCP Keep Alive in addition to the defaults,
you might pass:
.. code-block:: python
HTTPConnection.default_socket_options + [
(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1),
]
Or you may want to disable the defaults by passing an empty list (e.g., ``[]``).
r, r FNc �D � t j s|j dd � |j d� | _ |j d| j
� | _ |j dd � | _ |j dd � | _ t j | g|��i |�� y )N�strict�source_address�socket_options�proxy�proxy_config)r �PY2�pop�getr3 �default_socket_optionsr4 r5 r6 �_HTTPConnection�__init__)�self�args�kws r r<