Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.16.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : error.cpython-34.pyo
�
e fk
�@spdZddlZdddgZGdd�de�ZGdd�deejj�ZGdd�de�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+eZdZddd�Zdd�ZdS)rNcCs1|f|_||_|dk	r-||_ndS)N)�args�reason�filename)�selfrr�r	�1/opt/alt/python34/lib64/python3.4/urllib/error.py�__init__s	zURLError.__init__cCsd|jS)Nz<urlopen error %s>)r)rr	r	r
�__str__#szURLError.__str__)�__name__�
__module__�__qualname__rrr	r	r	r
rsc@sveZdZdZejjjZdd�Zdd�Z	e
dd��Ze
dd	��Zej
d
d	��ZdS)rzBRaised when HTTP error occurs, but also acts like non-error returncCsV||_||_||_||_||_|dk	rR|j||||�ndS)N)�code�msg�hdrs�fpr�_HTTPError__super_init)rZurlrrrrr	r	r
r*s					zHTTPError.__init__cCsd|j|jfS)NzHTTP Error %s: %s)rr)rr	r	r
r7szHTTPError.__str__cCs|jS)N)r)rr	r	r
r<szHTTPError.reasoncCs|jS)N)r)rr	r	r
�headers@szHTTPError.headerscCs
||_dS)N)r)rrr	r	r
rDsN)r
rr�__doc__�urllib�response�
addinfourlrrr�propertyrr�setterr	r	r	r
r&s
c@seZdZdd�ZdS)rcCstj||�||_dS)N)rr�content)r�messagerr	r	r
rJszContentTooShortError.__init__N)r
rrrr	r	r	r
rIs)
rZurllib.responser�__all__�OSErrorrrrrrr	r	r	r
�<module>s
#
© 2025 XylotrechusZ