| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3.11/urllib/__pycache__/ |
Upload File : |
�
�j9 � � � d Z ddlZg d�Z G d� dej � � Z G d� de� � Z G d� d e� � Z G d
� de� � ZdS )a Response classes used by urllib.
The base class, addbase, defines a minimal file-like interface,
including read() and readline(). The typical response object is an
addinfourl instance, which defines an info() method that returns
headers and a geturl() method that returns the url.
� N)�addbase�addclosehook�addinfo�
addinfourlc �4 � � e Zd ZdZ� fd�Zd� Zd� Zd� Z� xZS )r zOBase class for addinfo and addclosehook. Is a good idea for garbage collection.c �l �� t t | � � � |dd�� � || _ d S )Nz<urllib response>F)�delete)�superr �__init__�fp)�selfr � __class__s ��&/usr/lib/python3.11/urllib/response.pyr zaddbase.__init__ s4 �� �
�g����&�&�r�+>�u�&�M�M�M������ c �R � d| j j �dt | � � �d| j �d�S )N�<z at z whose fp = �>)r �__name__�id�file�r
s r �__repr__zaddbase.__repr__ s3 � � �-1�^�-D�-D�-D�-/��X�X�X�X�t�y�y�y�B� Br c �<