Current Path: > > opt > alt > python34 > lib64 > python3.4 > > 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-34.pyc | File | 135 bytes | April 17 2024 17:10:07. | |
__init__.cpython-34.pyo | File | 135 bytes | April 17 2024 17:10:07. | |
error.cpython-34.pyc | File | 2683 bytes | April 17 2024 17:10:07. | |
error.cpython-34.pyo | File | 2683 bytes | April 17 2024 17:10:07. | |
parse.cpython-34.pyc | File | 31441 bytes | April 17 2024 17:10:07. | |
parse.cpython-34.pyo | File | 31441 bytes | April 17 2024 17:10:07. | |
request.cpython-34.pyc | File | 74148 bytes | April 17 2024 17:10:07. | |
request.cpython-34.pyo | File | 73994 bytes | April 17 2024 17:10:03. | |
response.cpython-34.pyc | File | 3401 bytes | April 17 2024 17:10:07. | |
response.cpython-34.pyo | File | 3401 bytes | April 17 2024 17:10:07. | |
robotparser.cpython-34.pyc | File | 6755 bytes | April 17 2024 17:10:07. | |
robotparser.cpython-34.pyo | File | 6755 bytes | April 17 2024 17:10:07. |
� e f� � @ s� d Z d d l Z d d d d g Z Gd d � d e j � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d S)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 sL e Z d Z d Z � f d d � Z d d � Z d d � Z d d � Z � S) r zOBase class for addinfo and addclosehook. Is a good idea for garbage collection.c s, t t | � j | d d d �| | _ d S)Nz<urllib response>ZdeleteF)�superr �__init__�fp)�selfr )� __class__� �4/opt/alt/python34/lib64/python3.4/urllib/response.pyr s zaddbase.__init__c C s d | j j t | � | j f S)Nz<%s at %r whose fp = %r>)r �__name__�id�file)r r r r �__repr__ s zaddbase.__repr__c C s | j j r t d � � n | 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 r r )r r r s c s: e Z d Z d Z � f d d � Z � f d d � Z � S)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 sV z; | j } | j } | r: d | _ d | _ | | � n Wd t t | � j � Xd S)N)r r r r r )r r r )r r r r - s zaddclosehook.close)r r r r r r r r )r r r % s c s4 e Z d Z d Z � f d d � Z d d � Z � S)r z.class to add an info() method to an open file.c s# t t | � j | � | | _ d S)N)r r r �headers)r r r )r r r r <