Your IP : 3.135.209.231


Current Path : /opt/alt/python312/lib64/python3.12/urllib/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/urllib/__pycache__/error.cpython-312.opt-2.pyc

�

�Q�fo	���	ddlZddlZgd�ZGd�de�ZGd�deejj�ZGd�de�Z	y)	�N)�URLError�	HTTPError�ContentTooShortErrorc��eZdZdd�Zd�Zy)rNc�6�|f|_||_|�||_yy�N)�args�reason�filename)�selfr
rs   �3/opt/alt/python312/lib64/python3.12/urllib/error.py�__init__zURLError.__init__s$���G��	������$�D�M� �c� �d|jzS)Nz<urlopen error %s>)r
�rs r
�__str__zURLError.__str__s��#�d�k�k�1�1rr)�__name__�
__module__�__qualname__rr�rr
rrs��%�2rrc��eZdZ	ejj
jZd�Zd�Zd�Z	e
d��Ze
d��Zejd��Zy)rc��||_||_||_||_||_|�tj�}|j||||�yr)�code�msg�hdrs�fpr�io�BytesIO�_HTTPError__super_init)r�urlrrrrs      r
rzHTTPError.__init__'sI����	������	������
�
�:�����B����"�d�C��.rc�:�d|j�d|j��S)NzHTTP Error �: �rrrs r
rzHTTPError.__str__1s��&*�i�i����:�:rc�<�d|j�d|j�d�S)Nz<HTTPError r"�>r#rs r
�__repr__zHTTPError.__repr__4s��'+�y�y�$�(�(�;�;rc��|jSr)rrs r
r
zHTTPError.reason9s���x�x�rc��|jSr�rrs r
�headerszHTTPError.headers=s���y�y�rc��||_yrr))rr*s  r
r*zHTTPError.headersAs	����	rN)rrr�urllib�response�
addinfourlrrrr&�propertyr
r*�setterrrr
rr#si��L��?�?�-�-�6�6�L�/�;�<�
��������
�^�^���rrc��eZdZ	d�Zy)rc�>�tj||�||_yr)rr�content)r�messager3s   r
rzContentTooShortError.__init__Hs�����$��(���rN)rrrrrrr
rrFs
��N�rr)
r�urllib.responser,�__all__�OSErrorrr-r.rrrrr
�<module>r8sH���
��
;��
2�w�
2�  ��&�/�/�4�4� �F�8�r

?>