DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/MySQL/MySQL Workbench 6.1 CE/python/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Program Files (x86)/MySQL/MySQL Workbench 6.1 CE/python/lib//httplib.pyc

'Sc@swdZddlmZddlZddlZddlmZddlmZddlZej	-erej
ddenddlZWdQXyddl
mZWn!ek
rddlmZnXd	d
ddd
ddddddddddddgZdZdZdZdZdZdZd Zd!Zd"Zd#Zd$Zd%Zd&Zd'Zd(Zd)Z d*Z!d+Z"d,Z#d-Z$d.Z%d/Z&d0Z'd1Z(d2Z)d3Z*d4Z+d5Z,d6Z-d7Z.d8Z/d9Z0d:Z1d;Z2d<Z3d=Z4d>Z5d?Z6d@Z7dAZ8dBZ9dCZ:dDZ;dEZ<dFZ=dGZ>dHZ?dIZ@dJZAdKZBdLZCdMZDdNZEdOZFdPZGi)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@6dqdA6drdB6dsdC6dtdD6dudI6dvdJ6dwdK6dxdL6dydM6dzdN6ZHd{ZId|ejJfd}YZKd
fd~YZLdfdYZMd	fdYZNyddlOZOWnek
rnCXdeMfdYZPejQddeNfdYZRdZSdeTfdYZUd
eUfdYZVdeUfdYZWdeUfdYZXdeUfdYZYdeUfdYZZdeUfdYZ[deUfdYZ\de\fdYZ]de\fdYZ^de\fdYZ_deUfdYZ`eUZadfdYZbdZceddkrsecndS(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 SupporteditHTTPMessagecBs#eZdZdZdZRS(cCsT|jj|}|dkr.||j|<n"dj||f}||j|<dS(s*Add header for field key handling repeats.s, N(tdicttgettNonetjoin(tselftkeytvaluetprevtcombined((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt	addheaders
cCs&|j|}|d||j|<dS(s-Add more field data from a continuation line.s
 N(R"(R&R'tmoreR)((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytaddcontinues
cCs*i|_d|_g|_}d|_d}d}d}}}t|jdrc|jj}n|jr{|jj	}nxt
r%|ry
|}Wqtk
rd}}d|_qXn|jj}|sd|_Pn|r|j
dr|j||_q~nd}|rS|ddkrS|j||j||jq~n(|j|rhq~n|j|r{Pn|j|}|r|j||j||t|djq~q~|jsd|_n	d	|_|r||n)|r|jj|n|jd
|_Pq~WdS(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.
        titunreadisEOF in headerssFrom s 	s
No headerss%Non-header line where header expecteds
; bad seekN(R"tunixfromtheaderststatusR$thasattrtfpR/tseekablettelltTruetIOErrortreadlinet
startswithtappendR-tstript	iscommenttislasttisheaderR+tlentseek(R&thlistt
headerseent	firstlinetstartoflineR/R6tline((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytreadheaderss`		
			


	

$		
(t__name__t
__module__R+R-RG(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR!s			cBseZddd
edZdZdZdZdZdZ	d
dZ
dZd	Zd
Z
d
dZdZRS(icCs|r|jd|_n|jdd|_||_||_||_d|_t|_t|_	t|_
t|_t|_t|_
t|_dS(Ntrbi(tmakefileR4t
debugleveltstrictt_methodR$tmsgt_UNKNOWNtversionR2treasontchunkedt
chunk_lefttlengtht
will_close(R&tsockRLRMtmethodt	buffering((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt__init__Js										cCse|jj}|jdkr0dGt|GHn|sEt|ny|jdd\}}}WnMtk
ry"|jdd\}}d}Wqtk
rd}qXnX|jds|j	r|j
t|qt||j|_dSny7t|}|d	ks(|d
kr7t|nWntk
rWt|nX|||fS(Nisreply:iiR.sHTTP/sHTTP/0.9iidi(sHTTP/0.9iR.(
R4R9RLtreprRtsplitR$t
ValueErrorR:RMtclosetLineAndFileWrappertint(R&RFRQR2RR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt_read_statusfs4


	

c
Cs|jdk	rdSxvtr|j\}}}|tkrAPnxDtr|jjj}|siPn|jdkrDdG|GHqDqDWqW||_	|j|_
|dkrd|_n?|jdrd|_n$|dkrd|_nt
||jdkr;d|_d|_d	|_tt|_dSt|jd|_|jdkrx|jjD]}dG|GqlWnd|j_|jjd
}|r|jdkrd	|_d|_n	d|_|j|_|jjd}|rT|jrTyt||_Wntk
r5d|_q]X|jdkr]d|_q]n	d|_|tks|tksd
|kodkns|jdkrd|_n|jr|jr|jdkrd	|_ndS(Nisheader:sHTTP/1.0i
sHTTP/1.isHTTP/0.9i	istransfer-encodingRSscontent-lengthiditHEAD(ROR$R7RatCONTINUER4R9R<RLR2RRRQR:R
RURSRVR!RR1t	getheadertlowerRTt_check_closeR`R]t
NO_CONTENTtNOT_MODIFIEDRN(R&RQR2RRtskipthdrttr_encRU((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytbeginsn								

	

cCs|jjd}|jdkrS|jjd}|rOd|jkrOtStS|jjdritS|rd|jkrtS|jjd}|rd|jkrtStS(Nt
connectioniR^s
keep-alivesproxy-connection(RORdRQReR7tFalse(R&tconntpconn((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRfscCs&|jr"|jjd|_ndS(N(R4R^R$(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR^s	
cCs
|jdkS(N(R4R$(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytisclosedscCs|jdkrdS|jdkr0|jdS|jrF|j|S|dkr|jdkrs|jj}n|j|j}d|_|j|S|jdk	r||jkr|j}qn|jj|}|jdk	r|jt	|8_|js|jqn|S(NR.Rbi(
R4R$RNR^RSt
_read_chunkedRUtreadt
_safe_readR@(R&tamtts((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRss.
	
	
	cCs|jtkst|j}g}xtr|dkr|jj}|jd}|dkrp|| }nyt	|d}Wn0t
k
r|jtdj
|nX|dkrPqn|dkr|j|j|n||kr*|j|j||||_dj
|S||kro|j|j||jdd|_dj
|S|j|j|||8}|jdd}q'Wx3tr|jj}|sPn|dkrPqqW|jdj
|S(Nt;iiR.is
(RSRPtAssertionErrorRTR7R$R4R9tfindR`R]R^R
R%R;Rt(R&RuRTR(RFti((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRr0sN		





	



	
cCsg}xi|dkrq|jjt|t}|sQtdj||n|j||t|8}q	Wdj|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.(R4Rstmint	MAXAMOUNTR
R%R;R@(R&RuRvtchunk((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRtfs
cCs
|jjS(N(R4tfileno(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR~scCs.|jdkrtn|jj||S(N(ROR$RRd(R&tnametdefault((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRdscCs(|jdkrtn|jjS(s&Return list of (header, value) tuples.N(ROR$Rtitems(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt
getheaderssN(RHRIR$RnRZRaRlRfR^RqRsRrRtR~RdR(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR@s
	%	S			$	6		cBseZdZdZeZeZdZdZ	dZ
ddej
ddZdddZdZdZdZd	Zd
ZdZdZdd
ZdddZdZddZdidZdZdZedZRS(isHTTP/1.1iicCs||_||_d|_g|_d|_t|_d|_d|_	d|_
i|_|j|||dk	r||_
ndS(N(ttimeouttsource_addressR$RWt_buffert_HTTPConnection__responset_CS_IDLEt_HTTPConnection__stateRNt_tunnel_hostt_tunnel_portt_tunnel_headerst
_set_hostportRM(R&thosttportRMRR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZs										cCs5||_||_|r$||_n
|jjdS(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((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt
set_tunnels
		cCs|dkr|jd}|jd}||kryt||d}Wn)tk
rytd||dnX|| }n	|j}|r|ddkr|ddkr|dd!}qn||_||_dS(Nt:t]isnonnumeric port: '%s'it[i(R$trfindR`R]Rtdefault_portRR(R&RRRztj((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs

	&	cCs
||_dS(N(RL(R&tlevel((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytset_debuglevelscCs|j|j|j|jd|j|jfx4|jjD]#\}}|jd||fqCW|jd|j|j	d|j
d|j}|j\}}}|dkr|j
tjd||jfnx)tr|jj}|dkrPqqWdS(NsCONNECT %s:%d HTTP/1.0
s%s: %s
s
RMRXisTunnel connection failed: %d %s(RRRtsendRRRt	iteritemstresponse_classRWRMRNRaR^tsocketRR<R7R4R9(R&theaderR(tresponseRQtcodetmessageRF((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt_tunnels 

	cCsDtj|j|jf|j|j|_|jr@|jndS(s3Connect to the host and port specified in __init__.N(	Rtcreate_connectionRRRRRWRR(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytconnects	cCsQ|jr"|jjd|_n|jrD|jjd|_nt|_dS(s(Close the connection to the HTTP server.N(RWR^R$RRR(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR^s	
	
cCs|jdkr1|jr%|jq1tn|jdkrRdGt|GHnd}t|drt|t	r|jdkrdGHn|j
|}x<|r|jj||j
|}qWn|jj|dS(sSend `data' to the server.issend:i RsssendIng a read()ableN(RWR$t	auto_openRR	RLR[R3t
isinstanceRRstsendall(R&tdatat	blocksizet	datablock((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs	
	cCs|jj|dS(suAdd a line of output to the current request buffer.

        Assumes that the line does *not* end with \r\n.
        N(RR;(R&Rv((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt_outputscCsx|jjddj|j}|j2t|trK||7}d}n|j||dk	rt|j|ndS(sSend the currently buffered request and clear the buffer.

        Appends an extra \r\n to the buffer.
        A message_body may be specified, to be appended to the request.
        R.s
N(R.R.(RtextendR%RtstrR$R(R&tmessage_bodyRO((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt_send_outputs
	
c
Cs|jr$|jjr$d|_n|jtkr?t|_n	t||_|s`d}nd|||jf}|j	||j
dkr|sd}|jdrt|\}}}}}n|ry|j
d}Wn tk
r|j
d}nX|jd|qy|jj
d}	Wn#tk
rU|jj
d}	nX|	jd	d
kr|d|	d}	n|j|jkr|jd|	q|jdd
|	|jfn|s|jddqndS(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.thttptasciitidnatHostRiRRs%s:%ssAccept-EncodingtidentityN(RRqR$RRt_CS_REQ_STARTEDRRNt
_http_vsn_strRt	_http_vsnR:RtencodetUnicodeEncodeErrort	putheaderRRyRR(
R&RXturlt	skip_hosttskip_accept_encodingRjtnetloctnilt
netloc_encthost_enc((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt
putrequest#sB			


 
cGs^|jtkrtnd|djg|D]}t|^q.f}|j|dS(skSend a request header line to the server.

        For example: h.putheader('Accept', 'text/html')
        s%s: %ss
	N(RRRR%RR(R&RtvaluestvRj((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs2cCs5|jtkrt|_n	t|j|dS(s|Indicate that the last header line has been sent to the server.

        This method sends the request to the server.  The optional
        message_body argument can be used to pass message body
        associated with the request.  The message body will be sent in
        the same packet as the message headers if possible.  The
        message_body should be a string.
        N(RRt_CS_REQ_SENTRR(R&R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt
endheaderss		cCs|j||||dS(s&Send a complete request to the server.N(t
_send_request(R&RXRtbodyR1((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytrequestscCsd}ytt|}Wnftk
r}y"ttj|jj}Wqtt	fk
r|j
dkrdGHqqXnX|dk	r|jd|ndS(Nis
Cannot stat!!sContent-Length(R$RR@t	TypeErrortostfstatR~tst_sizetAttributeErrortOSErrorRLR(R&Rtthelentte((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt_set_content_lengths"c
Cstjg|D]}|j^q
}i}d|krGd|d<nd|kr`d|d<n|j||||rd|kr|j|nx*|jD]\}}	|j||	qW|j|dS(NRiRsaccept-encodingRscontent-length(R"tfromkeysReRRRRR(
R&RXRRR1tktheader_namestskipsRjR(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs(

cCs|jr$|jjr$d|_n|jtks<|jrHtn|jf}i|jd6|jd6}|j	dkr||j	f7}n|rt
|d<n|j||}|j|j
tkstt|_|j
r|jn	||_|S(s!Get the response from the server.RMRXiRYN(RRqR$RRRRWRMRNRLR7RRlRVRPRxRR^(R&RYtargstkwdsR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytgetresponses$

		
	N( RHRIRRRRt	HTTP_PORTRRRLRMR$Rt_GLOBAL_DEFAULT_TIMEOUTRZRRRRRR^RRRRRRRRRRnR(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs2
					
		n			cBsneZdZdZdZdZeZddddZ	dZ
dddZdZe
d	Zd
ZRS(s-Compatibility class with httplib.py from 1.5.i
sHTTP/1.0iR.cCs5|dkrd}n|j|j|||dS(s:Provide a default host, since the superclass requires one.iN(R$t_setupt_connection_class(R&RRRM((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZ
s	cCsj||_|j|_|j|_|j|_|j|_|j|_|j|_|j|_d|_	dS(N(
t_connRRRRRRRR$tfile(R&Ro((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs	cCs3|dk	r"|jj||n|jjdS(sDAccept arguments to set the host/port, since the superclass doesn't.N(R$RRR(R&RR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR(scCs|jS(sCProvide a getfile, since the superclass' does not use this concept.(R(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytgetfile/scCsy.|s|jj}n|jj|}WnNtk
r~}|jjjdd|_|jd|_d|j	dfSX|j
|_|j|_|j|j
|j
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
        RJiiN(RRRRWRKRR^R$R1RFROR4R2RR(R&RYRte((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pytgetreply3s
	cCs|jjd|_dS(N(RR^R$R(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR^Ts
N(RHRIt__doc__RRRLRRR$RZRRRRnRR^(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs		!tHTTPSConnectioncBs;eZdZeZddddejddZdZ	RS(s(This class allows communication via SSL.cCs2tj||||||||_||_dS(N(RRZtkey_filet	cert_file(R&RRRRRMRR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZhs	cCshtj|j|jf|j|j}|jrF||_|jnt	j
||j|j|_dS(s(Connect to a host on a given (SSL) port.N(
RRRRRRRRWRtssltwrap_socketRR(R&RW((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRps		
N(
RHRIRt
HTTPS_PORTRR$RRRZR(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRcs		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.cCsM|dkrd}n|j|j|||||||_||_dS(Ni(R$RRRR(R&RRRRRM((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZs	
	N(RHRIRRRR$RZ(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR|scCstjddtdd|S(Ns0FakeSocket is deprecated, and won't be in 3.x.  s5Use the result of ssl.wrap_socket() directly instead.t
stackleveli(twarningstwarntDeprecationWarning(RWtsslobj((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt
FakeSockets	
cBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR	scBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBseZdZRS(cCs|f|_||_dS(N(RRQ(R&RQ((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZs(RHRIRZ(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR
scBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBs&eZddZdZdZRS(cCs"|f|_||_||_dS(N(Rtpartialtexpected(R&RR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZs	cCs<|jdk	rd|j}nd}dt|j|fS(Ns, %i more expectedR.sIncompleteRead(%i bytes read%s)(RR$R@R(R&R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt__repr__scCs
t|S(N(R[(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt__str__sN(RHRIR$RZRR(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR
s	cBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBseZRS((RHRI(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRscBseZdZRS(cCs.|st|}n|f|_||_dS(N(R[RRF(R&RF((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZs(RHRIRZ(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRsR_cBsJeZdZdZdZdZddZdZddZ	RS(s2A limited file-like object for HTTP/0.9 responses.cCs7||_||_d|_d|_t||_dS(Ni(t_linet_filet_line_consumedt_line_offsetR@t
_line_left(R&RFR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRZs
				cCst|j|S(N(tgetattrR(R&tattr((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt__getattr__scCs:d|_|jj|_|jj|_|jj|_dS(Ni(RRRsR9t	readlines(R&((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt_dones	cCs|jr|jj|S|js(t|dksC||jkr|j|j}|j|dkrz||jjS||jj|t	|Snp||jkst|j}||}|j||!}||_|j|8_|jdkr|jn|SdS(Ni(
RRRsRRxR$RRRR@(R&RuRvRzR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRss$	
!	
	
cCsC|jr|jjS|js%t|j|j}|j|S(N(RRR9RRxRRR(R&Rv((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR9s	

cCsz|jr|jj|S|js(t|j|jg}|j|dkrb||jjS||jj|SdS(N(	RRRRRxRRRR$(R&tsizetL((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyRs	
N(
RHRIRRZRRR$RsR9R(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR_s					cCsddl}ddl}|j|jdd\}}d}x-|D]%\}}|dkrD|d}qDqDWd}d}|dr|d}n|dr|d}nt}	|	j||	j||	jd	||	j|	j\}
}}d
G|
GHdG|GHdGt	|	j
jGHH|rOx|jD]}
|
j
GHq7WnHd
tfdY}|d}	|	jd	d|	j|	j|	jyddl}Wntk
rnXxdD]\}}d||fGHt}|j||j||jd	||j|j\}
}}d
G|
GHdG|GHdGt	|j
jGHH|rx|jD]}
|
j
GHqvWnHqWdS(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 =RstHTTP11cBseZdZdZRS(isHTTP/1.1(RHRIRR(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyR;sshttp://www.python.org/~jeremy/ssourceforge.nets/projects/pythonshttps://%s%s(ssourceforge.nets/projects/python((ssourceforge.nets/projects/python(tsystgetopttargvRRRRRRR@RRsR1R<R^RtImportErrorR(RRtoptsRtdltotaRtselectorthR2RRR1RRRths((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyttestsj



	


		



	


		t__main__(eRRRRRRturlparseRRtcatch_warningstfilterwarningsRt	mimetoolst	cStringIORRt__all__RRRPRRRRctSWITCHING_PROTOCOLSt
PROCESSINGRtCREATEDtACCEPTEDtNON_AUTHORITATIVE_INFORMATIONRgt
RESET_CONTENTtPARTIAL_CONTENTtMULTI_STATUStIM_USEDtMULTIPLE_CHOICEStMOVED_PERMANENTLYtFOUNDt	SEE_OTHERRht	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|tMessageR!RRRRRR;RRt	ExceptionRR	RR
RRR
RRRRRRR_RRH(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\httplib.pyt<module>Cs,


				
iRs[

	D	A

Anon7 - 2022
AnonSec Team