⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
urllib
/
__pycache__
/
View File Name :
error.cpython-310.pyc
o }ò5ho ã @ sV d Z ddlZddlZg d¢ZG dd„ deƒZG dd„ deejjƒZ G dd „ 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 @ s e Zd Zddd„Zdd„ ZdS )r Nc C s$ |f| _ || _|d ur|| _d S d S ©N)ÚargsÚreasonÚfilename)Úselfr r © r ú#/usr/lib/python3.10/urllib/error.pyÚ__init__ s ÿzURLError.__init__c C s d| j S )Nz
)r ©r r r r Ú__str__ s zURLError.__str__r )Ú__name__Ú __module__Ú__qualname__r r r r r r r s r c @ sX e Zd ZdZejjjZdd„ Zdd„ Z dd„ Z edd „ ƒZed d„ ƒZ e jdd„ ƒZ d S )r zBRaised when HTTP error occurs, but also acts like non-error returnc C sB || _ || _|| _|| _|| _|d u rt ¡ }| ||||¡ d S r )ÚcodeÚmsgÚhdrsÚfpr ÚioÚBytesIOÚ_HTTPError__super_init)r Úurlr r r r r r r r ' s zHTTPError.__init__c C ó d| j | jf S )NzHTTP Error %s: %s©r r r r r r r 1 ó zHTTPError.__str__c C r )Nz
r r r r r Ú__repr__4 r zHTTPError.__repr__c C ó | j S r )r r r r r r 9 ó zHTTPError.reasonc C r r ©r r r r r Úheaders= r zHTTPError.headersc C s || _ d S r r )r r! r r r r! A s N)r r r Ú__doc__ÚurllibÚresponseÚ addinfourlr r r r Úpropertyr r! Úsetterr r r r r # s r c @ s e Zd ZdZdd„ ZdS )r zDException raised when downloaded size does not match content-length.c C s t | |¡ || _d S r )r r Úcontent)r Úmessager( r r r r H s zContentTooShortError.__init__N)r r r r" r r r r r r F s r )r" r Úurllib.responser# Ú__all__ÚOSErrorr r$ r% r r r r r r Ú
s #