Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/lib64/python2.6/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.6/httplib.pyc
Lc@sdZddklZddkZddkZddklZddklZddkZei	i
iz.eoeidde
nddkZWdQXyddklZWn#ej
oddklZnXd	d
ddd
ddddddddddddgZdZdZdZdZdZdZd Zd!Zd"Zd#Zd$Zd%Zd&Zd'Z d(Z!d)Z"d*Z#d+Z$d,Z%d-Z&d.Z'd/Z(d0Z)d1Z*d2Z+d3Z,d4Z-d5Z.d6Z/d7Z0d8Z1d9Z2d:Z3d;Z4d<Z5d=Z6d>Z7d?Z8d@Z9dAZ:dBZ;dCZ<dDZ=dEZ>dFZ?dGZ@dHZAdIZBdJZCdKZDdLZEdMZFdNZGdOZHdPZIh)dQd 6dRd!6dSd#6dTd$6dUd%6dVd&6dWd'6dXd(6dYd)6dZd,6d[d-6d\d.6d]d/6d^d06d_d16d`da6dbd26dcd36ddd46ded56dfd66dgd76dhd86did96djd:6dkd;6dld<6dmd=6dnd>6dod?6dpd@6dqdA6drdB6dsdC6dtdD6dudI6dvdJ6dwdK6dxdL6dydM6dzdN6ZJd{ZKd|ZLd ZMeiNd}iOZPeiNd~iQZRdeiSfdYZTd
fdYZUdfdYZVd	fdYZWyddkXZXWnej
onDXdeVfdYZYeiZddeWfdYZ[dZ\de]fdYZ^d
e^fdYZ_de^fdYZ`de^fdYZade^fdYZbde^fdYZcde^fdYZdde^fdYZedeefdYZfdeefdYZgdeefdYZhde^fdYZide^fdYZje^ZkdfdYZldZmendjoemndS(s	HTTP/1.1 client library

<intro stuff goes here>
<other stuff, too>

HTTPConnection goes through a number of "states", which define when a client
may legally make another request or fetch the response for a particular
request. This diagram details these state transitions:

    (null)
      |
      | HTTPConnection()
      v
    Idle
      |
      | putrequest()
      v
    Request-started
      |
      | ( putheader() )*  endheaders()
      v
    Request-sent
      |
      | response = getresponse()
      v
    Unread-response   [Response-headers-read]
      |\____________________
      |                     |
      | response.read()     | putrequest()
      v                     v
    Idle                  Req-started-unread-response
                     ______/|
                   /        |
   response.read() |        | ( putheader() )*  endheaders()
                   v        v
       Request-started    Req-sent-unread-response
                            |
                            | response.read()
                            v
                          Request-sent

This diagram presents the following rules:
  -- a second request may not be started until {response-headers-read}
  -- a response [object] cannot be retrieved until {request-sent}
  -- there is no differentiation between an unread response body and a
     partially read response body

Note: this enforcement is applied by the HTTPConnection class. The
      HTTPResponse class does not enforce this state machine, which
      implies sophisticated clients may accelerate the request/response
      pipeline. Caution should be taken, though: accelerating the states
      beyond the above pattern may imply knowledge of the server's
      connection-close behavior for certain requests. For example, it
      is impossible to tell whether the server will close the connection
      UNTIL the response headers have been read; this means that further
      requests cannot be placed into the pipeline until it is known that
      the server will NOT be closing the connection.

Logical State                  __state            __response
-------------                  -------            ----------
Idle                           _CS_IDLE           None
Request-started                _CS_REQ_STARTED    None
Request-sent                   _CS_REQ_SENT       None
Unread-response                _CS_IDLE           <response_class>
Req-started-unread-response    _CS_REQ_STARTED    <response_class>
Req-sent-unread-response       _CS_REQ_SENT       <response_class>
i(tarrayN(tpy3kwarning(turlsplittignores.*mimetools has been removed(tStringIOtHTTPtHTTPResponsetHTTPConnectiont
HTTPExceptiontNotConnectedtUnknownProtocoltUnknownTransferEncodingtUnimplementedFileModetIncompleteReadt
InvalidURLtImproperConnectionStatetCannotSendRequesttCannotSendHeadertResponseNotReadyt
BadStatusLineterrort	responsesiPitUNKNOWNtIdlesRequest-startedsRequest-sentidieifiiiiiiiiii,i-i.i/i0i1i3iiiiiiiiiiiiiiiiiiiiiiiiiiiiiitContinuesSwitching ProtocolstOKtCreatedtAcceptedsNon-Authoritative Informations
No Contents
Reset ContentsPartial ContentsMultiple ChoicessMoved PermanentlytFounds	See OthersNot Modifieds	Use Proxys(Unused)i2sTemporary RedirectsBad RequesttUnauthorizedsPayment Requiredt	Forbiddens	Not FoundsMethod Not AllowedsNot AcceptablesProxy Authentication RequiredsRequest TimeouttConflicttGonesLength RequiredsPrecondition FailedsRequest Entity Too LargesRequest-URI Too LongsUnsupported Media TypesRequested Range Not SatisfiablesExpectation FailedsInternal Server ErrorsNot ImplementedsBad GatewaysService UnavailablesGateway TimeoutsHTTP Version Not Supportediis\A[^:\s][^:\r\n]*\Zs\n(?![ \t])|\r(?![ \t\n])tHTTPMessagecBs#eZdZdZdZRS(cCsV|ii|}|djo||i|<n#di||f}||i|<dS(s*Add header for field key handling repeats.s, N(tdicttgettNonetjoin(tselftkeytvaluetprevtcombined((s/usr/lib64/python2.6/httplib.pyt	addheaders

cCs&|i|}|d||i|<dS(s-Add more field data from a continuation line.s
 N(R"(R&R'tmoreR)((s/usr/lib64/python2.6/httplib.pytaddcontinues
cCsh|_d|_g|_}d|_d}d}d
}}}t|ido|ii}n|io|ii	}nxt
ot|tjot
dtn|o:y
|}Wqtj
od
}}d|_qXn|iitd}t|tjotdn|pd|_Pn|o'|ido|i||_qnd}|o;|dd	jo*|i||i||iqn-|i|oqn|i|oPn|i|}|o8|i||i||t|diqq|ip
d
|_n
d|_|o||n,|o|ii|n|id|_PqWd
S(s:Read header lines.

        Read header lines up to the entirely blank line that terminates them.
        The (normally blank) line that ends the headers is skipped, but not
        included in the returned list.  If a non-header line ends the headers,
        (which is an error), an attempt is made to backspace over it; it is
        never included in the returned list.

        The variable self.status is set to the empty string if all went well,
        otherwise it is an error message.  The variable self.headers is a
        completely uninterpreted list of lines contained in the header (so
        printing them will reproduce the header exactly as it appears in the
        file).

        If multiple header fields with the same name occur, they are combined
        according to the rules in RFC 2616 sec 4.2:

        Appending each subsequent field-value to the first, each separated
        by a comma. The order in which header fields with the same field-name
        are received is significant to the interpretation of the combined
        field value.
        titunreadsgot more than %d headersisheader linesEOF in headerssFrom s 	s
No headerss%Non-header line where header expecteds
; bad seekN(R"tunixfromtheaderststatusR$thasattrtfpR/tseekablettelltTruetlent_MAXHEADERSRtIOErrortreadlinet_MAXLINEtLineTooLongt
startswithtappendR-tstript	iscommenttislasttisheaderR+tseek(R&thlistt
headerseent	firstlinetstartoflineR/R6tline((s/usr/lib64/python2.6/httplib.pytreadheaders
sj		
	


	

$

	(t__name__t
__module__R+R-RJ(((s/usr/lib64/python2.6/httplib.pyR!s			cBszeZddddZdZdZdZdZdZddZ	dZ
d	Zdd
ZdZ
RS(
icCs||idd|_||_||_||_d|_t|_t|_	t|_
t|_t|_t|_
t|_dS(Ntrbi(tmakefileR4t
debugleveltstrictt_methodR$tmsgt_UNKNOWNtversionR2treasontchunkedt
chunk_lefttlengtht
will_close(R&tsockRORPtmethod((s/usr/lib64/python2.6/httplib.pyt__init__qs										c	Cs|iitd}t|tjotdn|idjodGt|GHn|pt|ny|idd\}}}WnQt
j
oEy"|idd\}}d}Wqt
j
o
d}qXnX|idpA|io|i
t|q7t||i|_dSny:t|}|d
jp
|djot|nWnt
j
ot|nX|||fS(
Nisheader lineisreply:iR.sHTTP/sHTTP/0.9iidi(sHTTP/0.9iR.(R4R;R<R8R=ROtreprRtsplitR$t
ValueErrorR>RPtclosetLineAndFileWrappertint(R&RIRTR2RU((s/usr/lib64/python2.6/httplib.pyt_read_statuss8


cCs9|idj	odSxto|i\}}}|tjoPnxztor|iitd}t|tjot	dn|i
}|pPn|idjo
dG|GHqIqIWqW||_|i
|_
|djo
d|_nD|ido
d|_n'|d	jo
d
|_n
t||id
jo2d|_d|_d|_tt|_dSt|id|_|idjo#x |iiD]}dG|GqWnd|i_|iid}|o)|idjod|_d|_n
d|_|i|_|iid
}|o^|ioSyt||_Wntj
od|_qX|idjo
d|_qn
d|_|tjp;|tjp.d|jo
djnp|idjo
d|_n|io(|io|idjo
d|_ndS(Nisheader lineisheader:sHTTP/1.0i
sHTTP/1.isHTTP/0.9i	stransfer-encodingRVscontent-lengthiditHEAD( RRR$R7RctCONTINUER4R;R<R8R=R@ROR2RURTR>R
RXRVRYR!RR1t	getheadertlowerRWt_check_closeRbR_t
NO_CONTENTtNOT_MODIFIEDRQ(R&RTR2RUtskipthdrttr_encRX((s/usr/lib64/python2.6/httplib.pytbeginsz
	




			
	
		
cCs|iid}|idjo6|iid}|od|ijotStS|iidotS|od|ijotS|iid}|od|ijotStS(Nt
connectioniR`s
keep-alivesproxy-connection(RRRfRTRgR7tFalse(R&tconntpconn((s/usr/lib64/python2.6/httplib.pyRhscCs(|io|iid|_ndS(N(R4R`R$(R&((s/usr/lib64/python2.6/httplib.pyR`s

cCs
|idjS(N(R4R$(R&((s/usr/lib64/python2.6/httplib.pytisclosed#scCs.|idjodS|idjo|idS|io|i|S|djoM|idjo|ii}n|i|i}d|_|i|S|idj	o!||ijo
|i}qn|ii|}|idj	o1|it	|8_|ip|iq*n|S(NR.Rdi(
R4R$RQR`RVt
_read_chunkedRXtreadt
_safe_readR8(R&tamtts((s/usr/lib64/python2.6/httplib.pyRu.s.


	

cCs_|itjpt|i}g}xto|djo|iitd}t	|tjot
dn|id}|djo|| }nyt|d}Wn2t
j
o&|itdi|nX|djoPqn|djo|i|i|n||jo1|i|i||||_di|S||jo:|i|i||idd|_di|S|i|i|||8}|idd}q)Wxcto[|iitd}t	|tjot
dn|pPn|d	joPqqW|idi|S(
Nis
chunk sizet;iiR.istrailer lines
(RVRStAssertionErrorRWR7R$R4R;R<R8R=tfindRbR_R`R
R%R?Rv(R&RwRWR(RIti((s/usr/lib64/python2.6/httplib.pyRtRsZ	



	




	




cCsg}xm|djo_|iit|t}|ptdi||n|i||t|8}q	Wdi|S(sVRead the number of bytes requested, compensating for partial reads.

        Normally, we have a blocking socket, but a read() can be interrupted
        by a signal (resulting in a partial read).

        Note that we cannot distinguish between EOF and an interrupt when zero
        bytes have been read. IncompleteRead() will be raised in this
        situation.

        This function should be used when <amt> bytes "should" be present for
        reading. If the bytes are truly not available (due to EOF), then the
        IncompleteRead exception can be used to detect the problem.
        iR.(R4Rutmint	MAXAMOUNTR
R%R?R8(R&RwRxtchunk((s/usr/lib64/python2.6/httplib.pyRvs

cCs0|idjo
tn|ii||S(N(RRR$RRf(R&tnametdefault((s/usr/lib64/python2.6/httplib.pyRfs
cCs*|idjo
tn|iiS(s&Return list of (header, value) tuples.N(RRR$Rtitems(R&((s/usr/lib64/python2.6/httplib.pyt
getheaderss
N(RKRLR$R\RcRnRhR`RsRuRtRvRfR(((s/usr/lib64/python2.6/httplib.pyRgs
	'	V			$	:	cBseZdZdZeZeZdZdZ	dZ
ddei
dZdddZdZdZdZd	Zd
ZdZdZd
ZdddZdZdZdhdZdZdZRS(isHTTP/1.1iicCs||_d|_g|_d|_t|_d|_d|_d|_	h|_
|i|||dj	o
||_ndS(N(
ttimeoutR$RZt_buffert_HTTPConnection__responset_CS_IDLEt_HTTPConnection__stateRQt_tunnel_hostt_tunnel_portt_tunnel_headerst
_set_hostportRP(R&thosttportRPR((s/usr/lib64/python2.6/httplib.pyR\s									
cCs7||_||_|o
||_n|iidS(s Sets up the host and the port for the HTTP CONNECT Tunnelling.

        The headers argument should be a mapping of extra HTTP headers
        to send with the CONNECT request.
        N(RRRtclear(R&RRR1((s/usr/lib64/python2.6/httplib.pyt_set_tunnels
		
cCs|djo|id}|id}||joTyt||d}Wn+tj
otd||dnX|| }n
|i}|o3|ddjo"|ddjo|dd!}qn||_||_dS(Nt:t]isnonnumeric port: '%s'it[i(R$trfindRbR_Rtdefault_portRR(R&RRR|tj((s/usr/lib64/python2.6/httplib.pyRs

	)	cCs
||_dS(N(RO(R&tlevel((s/usr/lib64/python2.6/httplib.pytset_debuglevelscCsH|i|i|i|id|i|ifx4|iiD]#\}}|id||fqCW|id|i|i	d|i
d|i}|i\}}}|djo-|i
tid||ifnxWtoO|iitd}t|tjotd	n|djoPqqWdS(
NsCONNECT %s:%d HTTP/1.0
s%s: %s
s
RPR[isTunnel connection failed: %d %sisheader line(RRRtsendRRRt	iteritemstresponse_classRZRPRQRcR`tsocketRR@R7R4R;R<R8R=(R&theaderR(tresponseRTtcodetmessageRI((s/usr/lib64/python2.6/httplib.pyt_tunnels(



cCs@ti|i|if|i|_|io|indS(s3Connect to the host and port specified in __init__.N(Rtcreate_connectionRRRRZRR(R&((s/usr/lib64/python2.6/httplib.pytconnects
cCsU|io|iid|_n|io|iid|_nt|_dS(s(Close the connection to the HTTP server.N(RZR`R$RRR(R&((s/usr/lib64/python2.6/httplib.pyR`s





cCs1|idjo%|io|iq5tn|idjodGt|GHnyd}t|dokt|t	oZ|idjo	dGHn|i
|}x?|o#|ii||i
|}qWn|ii|Wn=ti
j
o.}|iddjo|innXdS(sSend `str' to the server.issend:i RussendIng a read()ablei N(RZR$t	auto_openRR	ROR]R3t
isinstanceRRutsendallRRtargsR`(R&tstrt	blocksizetdatatv((s/usr/lib64/python2.6/httplib.pyRs*

!	cCs|ii|dS(suAdd a line of output to the current request buffer.

        Assumes that the line does *not* end with \r\n.
        N(RR?(R&Rx((s/usr/lib64/python2.6/httplib.pyt_output0scCs:|iiddi|i}|i2|i|dS(spSend the currently buffered request and clear the buffer.

        Appends an extra \r\n to the buffer.
        R.s
N(R.R.(RtextendR%R(R&RR((s/usr/lib64/python2.6/httplib.pyt_send_output7sc
Cs|io|iio
d|_n|itjo
t|_n
t||_|p
d}nd|||if}|i	||i
djo4|pd}|idot|\}}}}}n|oLy|i
d}Wn"tj
o|i
d}nX|id|qy|ii
d}	Wn%tj
o|ii
d}	nX|i|ijo|id|	q|idd	|	|ifn|p|id
dqndS(
s`Send a request to the server.

        `method' specifies an HTTP request method, e.g. 'GET'.
        `url' specifies the object being requested, e.g. '/index.html'.
        `skip_host' if True does not add automatically a 'Host:' header
        `skip_accept_encoding' if True does not add automatically an
           'Accept-Encoding:' header
        t/s%s %s %siR.thttptasciitidnatHosts%s:%ssAccept-EncodingtidentityN(RRsR$RRt_CS_REQ_STARTEDRRQt
_http_vsn_strRt	_http_vsnR>RtencodetUnicodeEncodeErrort	putheaderRRR(
R&R[turlt	skip_hosttskip_accept_encodingRtnetloctnilt
netloc_encthost_enc((s/usr/lib64/python2.6/httplib.pyt
putrequestAs>

		

!
cCs|itjo
tnd|}t|ptd|fnd|}t|otd|fnd||f}|i|dS(skSend a request header line to the server.

        For example: h.putheader('Accept', 'text/html')
        s%ssInvalid header name %rsInvalid header value %rs%s: %sN(RRRt_is_legal_header_nameR_t_is_illegal_header_valueR(R&RR(R((s/usr/lib64/python2.6/httplib.pyRs




cCs4|itjo
t|_n
t|idS(s?Indicate that the last header line has been sent to the server.N(RRt_CS_REQ_SENTRR(R&((s/usr/lib64/python2.6/httplib.pyt
endheaderss
	cCsuy|i||||WnTtij
oE}|iddjp|ion|i||||nXdS(s&Send a complete request to the server.ii N(t
_send_requestRRRR(R&R[RtbodyR1R((s/usr/lib64/python2.6/httplib.pytrequestsc
Cstig}|D]}||iq~}h}d|jod|d<nd|jod|d<n|i||||od|jod}	ytt|}	Wnxtj
ol}
ddk}y"t|i	|i
i}	Wq*tt
fj
o |idjo	d	GHq%q*XnX|	dj	o|id
|	qOnx*|iD]\}}
|i||
q\W|i|o|i|ndS(NRiRsaccept-encodingRscontent-lengthiis
Cannot stat!!sContent-Length(R"tfromkeysRgRR$RR8t	TypeErrortostfstattfilenotst_sizetAttributeErrortOSErrorRORRRR(R&R[RRR1t_[1]tktheader_namestskipstthelentteRRlR(((s/usr/lib64/python2.6/httplib.pyRs40

"


cCs|io|iio
d|_n|itjp
|io
tn|idjo.|i|i|id|i	d|i
}n%|i|id|i	d|i
}|i|it
jptt|_|io|in
||_|S(s!Get the response from the server.iRPR[N(RRsR$RRRRORRZRPRQRnRYRSRzRR`(R&R((s/usr/lib64/python2.6/httplib.pytgetresponses"

	
	
	N(RKRLRRRRt	HTTP_PORTRRRORPR$Rt_GLOBAL_DEFAULT_TIMEOUTR\RRRRRR`RRRRRRRRR(((s/usr/lib64/python2.6/httplib.pyRs0
					
			
k		
	"cBsteZdZdZdZdZeZddddZ	dZ
dddZdZd	Z
d
ZdZRS(
s-Compatibility class with httplib.py from 1.5.i
sHTTP/1.0iR.cCs7|djo
d}n|i|i|||dS(s:Provide a default host, since the superclass requires one.iN(R$t_setupt_connection_class(R&RRRP((s/usr/lib64/python2.6/httplib.pyR\1s

cCs^||_|i|_|i|_|i|_|i|_|i|_|i|_d|_dS(N(	t_connRRRRRRR$tfile(R&Rq((s/usr/lib64/python2.6/httplib.pyR=s	cCs5|dj	o|ii||n|iidS(sDAccept arguments to set the host/port, since the superclass doesn't.N(R$RRR(R&RR((s/usr/lib64/python2.6/httplib.pyRKs
cCs|iS(sCProvide a getfile, since the superclass' does not use this concept.(R(R&((s/usr/lib64/python2.6/httplib.pytgetfileRscGs |ii|di|dS(s.The superclass allows only one value argument.s
	N(RRR%(R&Rtvalues((s/usr/lib64/python2.6/httplib.pyRVscCsy|ii}WnPtj
oD}|iiidd|_|id|_d|i	dfSX|i
|_|i|_|i|i
|i
fS(sCompat definition since superclass does not define it.

        Returns a tuple consisting of:
        - server status code (e.g. '200' if all goes well)
        - server "reason" corresponding to status code
        - any RFC822 headers in the response from the server
        RMiiN(RRRRZRNRR`R$R1RIRRR4R2RU(R&Rte((s/usr/lib64/python2.6/httplib.pytgetreplyZs
	cCs|iid|_dS(N(RR`R$R(R&((s/usr/lib64/python2.6/httplib.pyR`vs
N(RKRLt__doc__RRRORRR$R\RRRRRR`(((s/usr/lib64/python2.6/httplib.pyR's				tHTTPSConnectioncBs8eZdZeZddddeidZdZ	RS(s(This class allows communication via SSL.cCs/ti|||||||_||_dS(N(RR\tkey_filet	cert_file(R&RRRRRPR((s/usr/lib64/python2.6/httplib.pyR\s	cCsdti|i|if|i}|io||_|inti	||i
|i|_dS(s(Connect to a host on a given (SSL) port.N(RRRRRRRZRtssltwrap_socketRR(R&RZ((s/usr/lib64/python2.6/httplib.pyRs
!
	N(
RKRLRt
HTTPS_PORTRR$RRR\R(((s/usr/lib64/python2.6/httplib.pyRs
	tHTTPScBs,eZdZeZddddddZRS(sCompatibility with 1.5 httplib interface

        Python 1.5.2 did not have an HTTPS class, but it defined an
        interface for sending http requests that is also useful for
        https.
        R.cCsO|djo
d}n|i|i|||||||_||_dS(Ni(R$RRRR(R&RRRRRP((s/usr/lib64/python2.6/httplib.pyR\s


	N(RKRLRRRR$R\(((s/usr/lib64/python2.6/httplib.pyRscCstiddtdd|S(Ns0FakeSocket is deprecated, and won't be in 3.x.  s5Use the result of ssl.wrap_socket() directly instead.t
stackleveli(twarningstwarntDeprecationWarning(RZtsslobj((s/usr/lib64/python2.6/httplib.pyt
FakeSockets	
cBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyR	scBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBseZdZRS(cCs|f|_||_dS(N(RRT(R&RT((s/usr/lib64/python2.6/httplib.pyR\s(RKRLR\(((s/usr/lib64/python2.6/httplib.pyR
scBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBs&eZddZdZdZRS(cCs"|f|_||_||_dS(N(Rtpartialtexpected(R&RR((s/usr/lib64/python2.6/httplib.pyR\s	cCs>|idj	od|i}nd}dt|i|fS(Ns, %i more expectedR.sIncompleteRead(%i bytes read%s)(RR$R8R(R&R((s/usr/lib64/python2.6/httplib.pyt__repr__scCs
t|S(N(R](R&((s/usr/lib64/python2.6/httplib.pyt__str__sN(RKRLR$R\RR(((s/usr/lib64/python2.6/httplib.pyR
s	cBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBseZRS((RKRL(((s/usr/lib64/python2.6/httplib.pyRscBseZdZRS(cCs|f|_||_dS(N(RRI(R&RI((s/usr/lib64/python2.6/httplib.pyR\s(RKRLR\(((s/usr/lib64/python2.6/httplib.pyRsR=cBseZdZRS(cCsti|dt|fdS(Ns&got more than %d bytes when reading %s(RR\R<(R&t	line_type((s/usr/lib64/python2.6/httplib.pyR\s(RKRLR\(((s/usr/lib64/python2.6/httplib.pyR=sRacBsJeZdZdZdZdZddZdZddZ	RS(s2A limited file-like object for HTTP/0.9 responses.cCs7||_||_d|_d|_t||_dS(Ni(t_linet_filet_line_consumedt_line_offsetR8t
_line_left(R&RIR((s/usr/lib64/python2.6/httplib.pyR\s
				cCst|i|S(N(tgetattrR(R&tattr((s/usr/lib64/python2.6/httplib.pyt__getattr__	scCs:d|_|ii|_|ii|_|ii|_dS(Ni(RRRuR;t	readlines(R&((s/usr/lib64/python2.6/httplib.pyt_dones	cCs|io|ii|S|ipt|djp||ijo[|i|i}|i|djo||iiS||ii|t	|Snu||ijpt|i}||}|i||!}||_|i|8_|idjo|in|SdS(Ni(
RRRuRRzR$RRRR8(R&RwRxR|R((s/usr/lib64/python2.6/httplib.pyRus$


"	
	cCsG|io|iiS|ipt|i|i}|i|S(N(RRR;RRzRRR(R&Rx((s/usr/lib64/python2.6/httplib.pyR;+s

cCs|io|ii|S|ipt|i|ig}|i|djo||iiS||ii|SdS(N(	RRRRRzRRRR$(R&tsizetL((s/usr/lib64/python2.6/httplib.pyR3s


N(
RKRLRR\RRR$RuR;R(((s/usr/lib64/python2.6/httplib.pyRas					cCsddk}ddk}|i|idd\}}d}x/|D]'\}}|djo|d}qDqDWd}d}|do|d}n|do|d}nt}	|	i||	i||	id	||	i|	i\}
}}d
G|
GHdG|GHdGt	|	i
iGHH|o#x |iD]}
|
i
GHq>WnHd
tfdY}|d}	|	id	d|	i|	i|	iyddk}Wntj
onXxdD]\}}d||fGHt}|i||i||id	||i|i\}
}}d
G|
GHdG|GHdGt	|i
iGHH|o#x |iD]}
|
i
GHqWnHqWdS(sTest this module.

    A hodge podge of tests collected here, because they have too many
    external dependencies for the regular test suite.
    iNitdis-dswww.python.orgRtGETsstatus =sreason =RutHTTP11cBseZdZdZRS(isHTTP/1.1(RKRLRR(((s/usr/lib64/python2.6/httplib.pyR^sshttp://www.python.org/~jeremy/ssourceforge.nets/projects/pythonshttps://%s%s(ssourceforge.nets/projects/python((ssourceforge.nets/projects/python(tsystgetopttargvRRRRRRR8RRuR1R@R`RtImportErrorR(RRtoptsRtdltotaRtselectorthR2RUR1RRRths((s/usr/lib64/python2.6/httplib.pyttest>sr
	


		



	


		
t__main__(oRRtreRRRturlparseRRtcatch_warningst__exit__t	__enter__tfilterwarningsRt	mimetoolst	cStringIORRt__all__RRRSRRRRetSWITCHING_PROTOCOLSt
PROCESSINGRtCREATEDtACCEPTEDtNON_AUTHORITATIVE_INFORMATIONRit
RESET_CONTENTtPARTIAL_CONTENTtMULTI_STATUStIM_USEDtMULTIPLE_CHOICEStMOVED_PERMANENTLYtFOUNDt	SEE_OTHERRjt	USE_PROXYtTEMPORARY_REDIRECTtBAD_REQUESTtUNAUTHORIZEDtPAYMENT_REQUIREDt	FORBIDDENt	NOT_FOUNDtMETHOD_NOT_ALLOWEDtNOT_ACCEPTABLEtPROXY_AUTHENTICATION_REQUIREDtREQUEST_TIMEOUTtCONFLICTtGONEtLENGTH_REQUIREDtPRECONDITION_FAILEDtREQUEST_ENTITY_TOO_LARGEtREQUEST_URI_TOO_LONGtUNSUPPORTED_MEDIA_TYPEtREQUESTED_RANGE_NOT_SATISFIABLEtEXPECTATION_FAILEDtUNPROCESSABLE_ENTITYtLOCKEDtFAILED_DEPENDENCYtUPGRADE_REQUIREDtINTERNAL_SERVER_ERRORtNOT_IMPLEMENTEDtBAD_GATEWAYtSERVICE_UNAVAILABLEtGATEWAY_TIMEOUTtHTTP_VERSION_NOT_SUPPORTEDtINSUFFICIENT_STORAGEtNOT_EXTENDEDRR~R<R9tcompiletmatchRtsearchRtMessageR!RRRRRR?RRt	ExceptionRR	RR
RRR
RRRRRR=RRaRRK(((s/usr/lib64/python2.6/httplib.pyt<module>Cs6				
mIyY
	D	A


haha - 2025