Current Path: > > lib64 > python3.6 > urllib > __pycache__ >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-36.opt-1.pyc | File | 122 bytes | July 01 2025 22:14:43. | |
__init__.cpython-36.opt-2.pyc | File | 122 bytes | July 01 2025 22:14:43. | |
__init__.cpython-36.pyc | File | 122 bytes | July 01 2025 22:14:43. | |
error.cpython-36.opt-1.pyc | File | 2756 bytes | July 01 2025 22:14:43. | |
error.cpython-36.opt-2.pyc | File | 2081 bytes | July 01 2025 22:14:45. | |
error.cpython-36.pyc | File | 2756 bytes | July 01 2025 22:14:43. | |
parse.cpython-36.opt-1.pyc | File | 34412 bytes | July 01 2025 22:14:43. | |
parse.cpython-36.opt-2.pyc | File | 25277 bytes | July 01 2025 22:14:45. | |
parse.cpython-36.pyc | File | 34412 bytes | July 01 2025 22:14:43. | |
request.cpython-36.opt-1.pyc | File | 72826 bytes | July 01 2025 22:14:44. | |
request.cpython-36.opt-2.pyc | File | 60466 bytes | July 01 2025 22:14:45. | |
request.cpython-36.pyc | File | 72962 bytes | July 01 2025 22:14:43. | |
response.cpython-36.opt-1.pyc | File | 3229 bytes | July 01 2025 22:14:43. | |
response.cpython-36.opt-2.pyc | File | 2650 bytes | July 01 2025 22:14:45. | |
response.cpython-36.pyc | File | 3229 bytes | July 01 2025 22:14:43. | |
robotparser.cpython-36.opt-1.pyc | File | 7053 bytes | July 01 2025 22:14:43. | |
robotparser.cpython-36.opt-2.pyc | File | 5683 bytes | July 01 2025 22:14:45. | |
robotparser.cpython-36.pyc | File | 7053 bytes | July 01 2025 22:14:43. |
3 \� � @ s^ d Z ddlZddddgZG dd� dej�ZG dd� de�ZG d d� de�ZG d 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 s8 e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Z� ZS ) r zOBase class for addinfo and addclosehook. Is a good idea for garbage collection.c s t t| �j|ddd� || _d S )Nz<urllib response>F)�delete)�superr �__init__�fp)�selfr )� __class__� �'/usr/lib64/python3.6/urllib/response.pyr s zaddbase.__init__c C s d| j jt| �| jf S )Nz<%s at %r whose fp = %r>)r �__name__�id�file)r r r r �__repr__ s zaddbase.__repr__c C s | j jrtd��| S )NzI/O operation on closed file)r �closed� ValueError)r r r r � __enter__ s zaddbase.__enter__c C s | j � d S )N)�close)r �type�value� tracebackr r r �__exit__! s zaddbase.__exit__) r � __module__�__qualname__�__doc__r r r r � __classcell__r r )r r r s c s, e Zd ZdZ� fdd�Z� fdd�Z� ZS )r z*Class to add a close hook to an open file.c s t t| �j|� || _|| _d S )N)r r r � closehook�hookargs)r r r r )r r r r ( s zaddclosehook.__init__c s>