HEX
Server: LiteSpeed
System: Linux atali.colombiahosting.com.co 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: coopserp (1713)
PHP: 8.2.29
Disabled: dl,exec,passthru,proc_open,proc_close,shell_exec,memory_limit,system,popen,curl_multi_exec,show_source,symlink,link,leak,listen,diskfreespace,tmpfile,ignore_user_abord,highlight_file,source,show_source,fpaththru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setid,posix_times,posix_ttyname,posix_uname,proc_get_status,proc_nice,proc_terminate
Upload Files
File: //usr/local/lib/python3.9/site-packages/future/backports/urllib/__pycache__/response.cpython-39.pyc
a

��?hl�@spdZddlmZmZmZddlmZGdd�de�ZGdd�de�ZGdd	�d	e�Z	Gd
d�de�Z
[[[[dS)
aResponse 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.
�)�absolute_import�division�unicode_literals)�objectc@s@eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dS)�addbasez(Base class for addinfo and addclosehook.cCsV||_|jj|_|jj|_t|jd�r0|jj|_t|jd�rH|jj|_n
dd�|_dS)N�	readlines�filenocSsdS�N�r
r
r
�J/usr/local/lib/python3.9/site-packages/future/backports/urllib/response.py�<lambda>�z"addbase.__init__.<locals>.<lambda>)�fp�read�readline�hasattrrr)�selfrr
r
r�__init__s


zaddbase.__init__cCs
t|j�Sr	)�iterr�rr
r
r�__iter__szaddbase.__iter__cCsd|jjt|�|jfS)Nz<%s at %r whose fp = %r>)�	__class__�__name__�idrrr
r
r�__repr__%s
�zaddbase.__repr__cCs>|jr|j��d|_d|_d|_d|_d|_d|_d|_dSr	)r�closerrrrr�__next__rr
r
rr)s
z
addbase.closecCs|jdurtd��|S)NzI/O operation on closed file)r�
ValueErrorrr
r
r�	__enter__4s
zaddbase.__enter__cCs|��dSr	)r)r�type�value�	tracebackr
r
r�__exit__9szaddbase.__exit__N)
r�
__module__�__qualname__�__doc__rrrrrr"r
r
r
rrs
rc@s eZdZdZdd�Zdd�ZdS)�addclosehookz*Class to add a close hook to an open file.cGst�||�||_||_dSr	)rr�	closehook�hookargs)rrr'r(r
r
rr?szaddclosehook.__init__cCs,|jr|j|j�d|_d|_t�|�dSr	)r'r(rrrr
r
rrDs
zaddclosehook.closeN)rr#r$r%rrr
r
r
rr&<sr&c@s eZdZdZdd�Zdd�ZdS)�addinfoz.class to add an info() method to an open file.cCst�||�||_dSr	)rr�headers)rrr*r
r
rrNszaddinfo.__init__cCs|jSr	�r*rr
r
r�infoRszaddinfo.infoN)rr#r$r%rr,r
r
r
rr)Ksr)c@s2eZdZdZddd�Zdd�Zdd�Zd	d
�ZdS)�
addinfourlz9class to add info() and geturl() methods to an open file.NcCs"t�||�||_||_||_dSr	)rrr*�url�code)rrr*r.r/r
r
rrXszaddinfourl.__init__cCs|jSr	r+rr
r
rr,^szaddinfourl.infocCs|jSr	)r/rr
r
r�getcodeaszaddinfourl.getcodecCs|jSr	)r.rr
r
r�geturldszaddinfourl.geturl)N)rr#r$r%rr,r0r1r
r
r
rr-Us

r-N)r%�
__future__rrrZfuture.builtinsrrr&r)r-r
r
r
r�<module>s1