| Server IP : 3.96.16.70 / Your IP : 216.73.216.15 Web Server : Apache System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3.9/site-packages/urllib3/__pycache__/ |
Upload File : |
a
�ji�8 � @ s� d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZm Z
d dlZddlm
Z
ddlmZ ddlmZ zd dlZejZW n* eefy� dZG dd � d e�ZY n0 zeZW n" ey� G d
d� de�ZY n0 ddlmZmZmZmZ dd
l m!Z!m"Z" ddl#m$Z$m%Z%m&Z&m'Z'm(Z( ddl)m*Z* ddl+m,Z, e�-e.�Z/ddd�Z0e�1ddd�Z2e�3d�Z4G dd� de5�Z6G dd� dee5�ZG dd� de�Z7dd� Z8e�s�e6Z7e7Z9dS ) � )�absolute_importN)�error�timeout� )�six)�HTTPConnection)�
HTTPExceptionc @ s e Zd ZdS )�BaseSSLErrorN��__name__�
__module__�__qualname__� r r �6/usr/lib/python3.9/site-packages/urllib3/connection.pyr s r c @ s e Zd ZdS )�ConnectionErrorNr
r r r r r s r )�NewConnectionError�ConnectTimeoutError�SubjectAltNameWarning�SystemTimeWarning)�match_hostname�CertificateError)�resolve_cert_reqs�resolve_ssl_version�assert_fingerprint�create_urllib3_context�ssl_wrap_socket)�
connection)�HTTPHeaderDict�P i� )�http�httpsi� � � z[^-!#$%&'*+.^_`|~0-9a-zA-Z]c @ s e Zd ZdZdS )�DummyConnectionz-Used to detect a failed ConnectionCls import.N)r r r
�__doc__r r r r r# A s r# c @ sx e Zd ZdZed ZejejdfgZ dZ
dd� Zedd� �Z
e
jd d� �Z
d
d� Zdd
� Zdd� Zdd� Zddd�ZdS )r a$
Based on httplib.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::
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 Fc O sJ t js|�dd � |�d�| _|�d| j�| _tj| g|�R i |�� d S )N�strict�source_address�socket_options) r ZPY2�pop�getr&