Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
WMc@s~dZddklZddkZddklZddklZddkZeii i z.eoei dde nddk Z WdQXyddklZWn#ej oddklZnXd d d d d ddddddddddddgZdZdZdZdZdZdZd Zd!Zd"Zd#Zd$Zd%Zd&Zd'Zd(Z d)Z!d*Z"d+Z#d,Z$d-Z%d.Z&d/Z'd0Z(d1Z)d2Z*d3Z+d4Z,d5Z-d6Z.d7Z/d8Z0d9Z1d:Z2d;Z3d<Z4d=Z5d>Z6d?Z7d@Z8dAZ9dBZ:dCZ;dDZ<dEZ=dFZ>dGZ?dHZ@dIZAdJZBdKZCdLZDdMZEdNZFdOZGdPZHh)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@6dqdA6drdB6dsdC6dtdD6dudI6dvdJ6dwdK6dxdL6dydM6dzdN6ZId{ZJd|e iKfd}YZLd fd~YZMd fdYZNd fdYZOyddkPZPWnej onDXdeNfdYZQeiRddeOfdYZSdZTd eUfdYZVd eVfdYZWdeVfdYZXdeVfdYZYdeVfdYZZdeVfdYZ[deVfdYZ\deVfdYZ]de]fdYZ^de]fdYZ_de]fdYZ`deVfdYZaeVZbdfdYZcdZdeedjo edndS(s HTTP/1.1 client library 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 Req-started-unread-response _CS_REQ_STARTED Req-sent-unread-response _CS_REQ_SENT i(tarrayN(t py3kwarning(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 Redirects Bad 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 Implementeds Bad GatewaysService UnavailablesGateway TimeoutsHTTP Version Not Supportedit HTTPMessagecBs#eZdZdZdZRS(cCsV|ii|}|djo||i| 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.(R4Rrtmint MAXAMOUNTR R%R;R@(R&RtRutchunk((s/usr/lib/python2.6/httplib.pyRs[s  cCs0|idjo tn|ii||S(N(ROR$RRc(R&tnametdefault((s/usr/lib/python2.6/httplib.pyRcrs cCs*|idjo tn|iiS(s&Return list of (header, value) tuples.N(ROR$Rtitems(R&((s/usr/lib/python2.6/httplib.pyt getheadersws N(RHRIR$RYR`RkReR]RpRrRqRsRcR(((s/usr/lib/python2.6/httplib.pyR?s  % S   $ 6  cBseZdZdZeZeZdZdZ dZ dde i dZdddZdZdZdZd Zd Zd Zd Zd ZdddZdZdZdhdZdZdZRS(i sHTTP/1.1iicCs||_d|_g|_d|_t|_d|_d|_d|_ h|_ |i |||dj o ||_ ndS(N( ttimeoutR$RWt_buffert_HTTPConnection__responset_CS_IDLEt_HTTPConnection__stateRNt _tunnel_hostt _tunnel_portt_tunnel_headerst _set_hostportRM(R&thosttportRMR((s/usr/lib/python2.6/httplib.pyRYs          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/lib/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$trfindR_R\Rt default_portRR(R&RRRytj((s/usr/lib/python2.6/httplib.pyRs   ) cCs ||_dS(N(RL(R&tlevel((s/usr/lib/python2.6/httplib.pytset_debuglevelscCs|i|i|i|id|i|ifx4|iiD]#\}}|id||fqCW|id|i|i d|i d|i }|i \}}}|djo-|i tid||ifnx-to%|ii}|djoPqqWdS(NsCONNECT %s:%d HTTP/1.0 s%s: %s s RMRXisTunnel connection failed: %d %s(RRRtsendRRRt iteritemstresponse_classRWRMRNR`R]tsocketRR<R7R4R9(R&theaderR(tresponseRQtcodetmessageRF((s/usr/lib/python2.6/httplib.pyt_tunnels$       cCs@ti|i|if|i|_|io|indS(s3Connect to the host and port specified in __init__.N(Rtcreate_connectionRRRRWRR(R&((s/usr/lib/python2.6/httplib.pytconnects cCsU|io|iid|_n|io|iid|_nt|_dS(s(Close the connection to the HTTP server.N(RWR]R$RRR(R&((s/usr/lib/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 RrssendIng a read()ablei N(RWR$t auto_openRR RLRZR3t isinstanceRRrtsendallRRtargsR](R&tstrt blocksizetdatatv((s/usr/lib/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&Ru((s/usr/lib/python2.6/httplib.pyt_outputscCs:|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&RO((s/usr/lib/python2.6/httplib.pyt _send_outputsc Cs|io|iio d |_n|itjo t|_n t||_|p d}nd|||if}|i ||i djo4|pd}|i dot |\}}}}}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 d qnd 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 %si R.thttptasciitidnatHosts%s:%ssAccept-EncodingtidentityN(RRpR$RRt_CS_REQ_STARTEDRRNt _http_vsn_strRt _http_vsnR:RtencodetUnicodeEncodeErrort putheaderRRR( R&RXturlt skip_hosttskip_accept_encodingRtnetloctnilt netloc_encthost_enc((s/usr/lib/python2.6/httplib.pyt putrequests>       !  cCs>|itjo tnd||f}|i|dS(skSend a request header line to the server. For example: h.putheader('Accept', 'text/html') s%s: %sN(RRRR(R&RR(R((s/usr/lib/python2.6/httplib.pyRys 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/lib/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&RXRtbodyR1R((s/usr/lib/python2.6/httplib.pytrequests c Cstig}|D]}||iq~}h}d|jod|d|idj od|i}nd}dt|i|fS(Ns, %i more expectedR.sIncompleteRead(%i bytes read%s)(RR$R@R(R&R((s/usr/lib/python2.6/httplib.pyt__repr__scCs t|S(N(RZ(R&((s/usr/lib/python2.6/httplib.pyt__str__sN(RHRIR$RYRR(((s/usr/lib/python2.6/httplib.pyR s  cBseZRS((RHRI(((s/usr/lib/python2.6/httplib.pyRscBseZRS((RHRI(((s/usr/lib/python2.6/httplib.pyRscBseZRS((RHRI(((s/usr/lib/python2.6/httplib.pyRscBseZRS((RHRI(((s/usr/lib/python2.6/httplib.pyRscBseZdZRS(cCs|f|_||_dS(N(RRF(R&RF((s/usr/lib/python2.6/httplib.pyRYs (RHRIRY(((s/usr/lib/python2.6/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((s/usr/lib/python2.6/httplib.pyRYs     cCst|i|S(N(tgetattrR(R&tattr((s/usr/lib/python2.6/httplib.pyt __getattr__scCs:d|_|ii|_|ii|_|ii|_dS(Ni(RRRrR9t readlines(R&((s/usr/lib/python2.6/httplib.pyt_dones cCs|io|ii|S|ipt|djp||ijo[|i|i}|i|djo||iiS||ii|t |Snu||ijpt|i}||}|i||!}||_|i|8_|idjo|in|SdS(Ni( RRRrRRwR$RRRR@(R&RtRuRyR((s/usr/lib/python2.6/httplib.pyRrs$   "   cCsG|io|iiS|ipt|i|i}|i|S(N(RRR9RRwRRR(R&Ru((s/usr/lib/python2.6/httplib.pyR9s   cCs|io|ii|S|ipt|i|ig}|i|djo||iiS||ii|SdS(N( RRRRRwRRRR$(R&tsizetL((s/usr/lib/python2.6/httplib.pyRs   N( RHRIRRYRRR$RrR9R(((s/usr/lib/python2.6/httplib.pyR^s    cCsddk}ddk}|i|idd\}}d}x/|D]'\}}|djo|d}qDqDWd}d}|do|d}n|do|d}nt} | i|| i|| id || i| i\} } } d G| GHd G| GHd Gt | i i GHH| 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| GHd G| GHd Gt |i i GHH| 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 =RrtHTTP11cBseZdZdZRS(i sHTTP/1.1(RHRIRR(((s/usr/lib/python2.6/httplib.pyRsshttp://www.python.org/~jeremy/ssourceforge.nets/projects/pythons https://%s%s(ssourceforge.nets/projects/python((ssourceforge.nets/projects/python(tsystgetopttargvRRRRRRR@RRrR1R<R]Rt ImportErrorR(RRtoptsRtdltotaRtselectorthR2RRR1RRRths((s/usr/lib/python2.6/httplib.pyttestsr                         t__main__(fRRRRRturlparseRRtcatch_warningst__exit__t __enter__tfilterwarningsRt mimetoolst cStringIORRt__all__RRRPRRRRbtSWITCHING_PROTOCOLSt PROCESSINGRtCREATEDtACCEPTEDtNON_AUTHORITATIVE_INFORMATIONRft RESET_CONTENTtPARTIAL_CONTENTt MULTI_STATUStIM_USEDtMULTIPLE_CHOICEStMOVED_PERMANENTLYtFOUNDt SEE_OTHERRgt USE_PROXYtTEMPORARY_REDIRECTt BAD_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_IMPLEMENTEDt BAD_GATEWAYtSERVICE_UNAVAILABLEtGATEWAY_TIMEOUTtHTTP_VERSION_NOT_SUPPORTEDtINSUFFICIENT_STORAGEt NOT_EXTENDEDRR{tMessageR!RRRRRR;RRt ExceptionRR RR R R R RRRRRRR^R RH(((s/usr/lib/python2.6/httplib.pytCs*         i@oY  D A