| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/aiohttp/__pycache__/ |
Upload File : |
�
�wce�$ � �* � d Z ddlZddlZddlmZmZmZmZmZ ddl m
Z
ddlmZ ddl
Z
e
j Zer
ddlmZmZmZmZ ndxZxZZdZ G d � d
e� Z G d� de� Z G d
� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� dee� Z G d� de� Z G d� de � Z! G d� de � Z" G d� d e� Z# G d!� d"e#� Z$ G d#� d$e#ejJ � Z& G d%� d&e#� Z' G d'� d(e� Z( G d)� d*ee)� Z* G d+� d,e � Z+e
�7e
jX fZ-e+e
jX fZ.e
j^ fZ0e+e
j^ fZ1n e2� Z-e+e)fZ. e2� Z0e+fZ1 G d-� d.ge1��� Z3 G d/� d0ge.��� Z4y# e$ r dxZ
ZY ��[w xY w)1zHTTP related errors.� N)�
TYPE_CHECKING�Any�Optional�Tuple�Union� )�RawResponseMessage)�LooseHeaders)�ClientResponse�
ConnectionKey�Fingerprint�RequestInfo)�ClientError�ClientConnectionError�
ClientOSError�ClientConnectorError�ClientProxyConnectionError�ClientSSLError�ClientConnectorSSLError�ClientConnectorCertificateError�ServerConnectionError�ServerTimeoutError�ServerDisconnectedError�ServerFingerprintMismatch�ClientResponseError�ClientHttpProxyError�WSServerHandshakeError�ContentTypeError�ClientPayloadError�
InvalidURLc � � e Zd ZdZy)r z(Base class for client connection errors.N��__name__�
__module__�__qualname__�__doc__� � �;/usr/lib/python3/dist-packages/aiohttp/client_exceptions.pyr r - s � �2r( r c � � e Zd ZdZddddd�dedeedf dee d ee d
e dee
ddfd
�Zde fd�Zde fd�Z
edefd�� Zej deddfd�� Zy)r a Base class for exceptions that occur after getting a response.
request_info: An instance of RequestInfo.
history: A sequence of responses, if redirects occurred.
status: HTTP status code.
message: Error message.
headers: Response headers.
N� )�code�status�message�headers�request_info�history.r, r- r. r/ �returnc �� � || _ |�)|�t d� �t j dt d�� |�|| _ n|�|| _ nd| _ || _ || _ || _ ||f| _ y )NzSBoth code and status arguments are provided; code is deprecated, use status insteadz/code argument is deprecated, use status instead� ��
stacklevelr )
r0 �
ValueError�warnings�warn�DeprecationWarningr- r. r/ r1 �args)�selfr0 r1 r, r- r. r/ s r) �__init__zClientResponseError.__init__; s� � � )������!� �=�� �
�M�M�A�"��
�
�� �D�K�
�
��D�K��D�K����������!�7�+�� r( c �x � dj | j | j | j j � S )Nz{}, message={!r}, url={!r})�formatr- r. r0 �real_url�r<