⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.45
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
lib
/
python3.11
/
urllib
/
__pycache__
/
View File Name :
error.cpython-311.pyc
� �Pgo � � � d Z ddlZddlZg d�Z G d� de� � Z G d� deej j � � Z G d� d e� � Z dS ) a� Exception classes raised by urllib. The base exception class is URLError, which inherits from OSError. It doesn't define any behavior of its own, but is the base class for all exceptions defined in this package. HTTPError is an exception class that is also a valid HTTP response instance. It behaves this way because HTTP protocol errors are valid responses, with a status code, headers, and a body. In some contexts, an application may want to handle an exception like a regular response. � N)�URLError� HTTPError�ContentTooShortErrorc � � e Zd Zdd�Zd� ZdS )r Nc �: � |f| _ || _ |� || _ d S d S �N)�args�reason�filename)�selfr r s �#/usr/lib/python3.11/urllib/error.py�__init__zURLError.__init__ s+ � ��G�� ������$�D�M�M�M� �� c � � d| j z S )Nz<urlopen error %s>)r �r s r �__str__zURLError.__str__ s � �#�d�k�1�1r r )�__name__� __module__�__qualname__r r � r r r r s7 � � � � � �%� %� %� %�2� 2� 2� 2� 2r r c � � e Zd ZdZej j j Zd� Zd� Z d� Z ed� � � Zed� � � Z e j d� � � Z dS ) r zBRaised when HTTP error occurs, but also acts like non-error returnc � � || _ || _ || _ || _ || _ |�t j � � }| � ||||� � d S r )�code�msg�hdrs�fpr �io�BytesIO�_HTTPError__super_init)r �urlr r r r s r r zHTTPError.__init__'