Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
§ !A?h_½ãóz—dZdZgd¢ZddlZddlZddlZddlZddlZ ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddl mZdZdZGd„d ej¦«ZGd „d eje¦«ZGd „d ej¦«ZGd„de¦«Z d„Z!da"d„Z#d„Z$Gd„de ¦«Z%d„Z&eedddfd„Z'e(dkrñddl)Z)ddl*Z*e)j+¦«Z,e, -ddd¬¦«e, -ddd d!¬"¦«e, -d#d$e j.¦«d%¬&¦«e, -d'd(d)dd*¬+¦«e, -d,de/d-d.¬/¦«e, 0¦«Z1e1j2re%Z3ne Z3Gd0„d1e¦«Z4e'e3e4e1j5e1j6e1j7¬2¦«dSdS)3a@HTTP server classes. Note: BaseHTTPRequestHandler doesn't implement any HTTP request; see SimpleHTTPRequestHandler for simple implementations of GET, HEAD and POST, and CGIHTTPRequestHandler for CGI scripts. It does, however, optionally implement HTTP/1.1 persistent connections, as of version 0.3. Notes on CGIHTTPRequestHandler ------------------------------ This class implements GET and POST requests to cgi-bin scripts. If the os.fork() function is not present (e.g. on Windows), subprocess.Popen() is used as a fallback, with slightly altered semantics. In all cases, the implementation is intentionally naive -- all requests are executed synchronously. SECURITY WARNING: DON'T USE THIS CODE UNLESS YOU ARE INSIDE A FIREWALL -- it may execute arbitrary Python code or external programs. Note that status code 200 is sent prior to execution of a CGI script, so scripts cannot send other status codes such as 302 (redirect). XXX To do: - log requests even later (to capture byte count) - log user-agent header and other interesting goodies - send error log to separate file z0.6)Ú HTTPServerÚThreadingHTTPServerÚBaseHTTPRequestHandlerÚSimpleHTTPRequestHandlerÚCGIHTTPRequestHandleréN)Ú HTTPStatusaD Error response

Error response

Error code: %(code)d

Message: %(message)s.

Error code explanation: %(code)s - %(explain)s.

ztext/html;charset=utf-8có—eZdZdZd„ZdS)récó¨—tj |¦«|jdd…\}}t j|¦«|_||_dS)z.Override server_bind to store the server name.Né)Ú socketserverÚ TCPServerÚ server_bindÚserver_addressÚsocketÚgetfqdnÚ server_nameÚ server_port)ÚselfÚhostÚports ú8/opt/alt/python-internal/lib64/python3.11/http/server.pyrzHTTPServer.server_bind†sN€åÔ×*Ò*¨4Ñ0Ô0Ð0ØÔ(¨¨!¨Ô,‰ ˆˆdÝ!œ>¨$Ñ/Ô/ˆÔ؈ÔÐÐóN)Ú__name__Ú __module__Ú __qualname__Úallow_reuse_addressr©rrrr‚s)€€€€€àÐð ð ð ð ð rrcó—eZdZdZdS)rTN)rrrÚdaemon_threadsrrrrrŽs€€€€€Ø€N€N€Nrrc óì—eZdZdZdej ¦«dzZdezZ e Z e Z dZd„Zd„Zd„Zd „Zd#d „Zd$d „Zd$d „Zd„Zd„Zd„Zd%d„Zd„Ze d„ejed¦«edd¦«¦«D¦«¦«Z de e!d¦«<d„Z"d„Z#d$d„Z$d„Z%gd¢Z&gd¢Z'd „Z(d!Z)e*j+j,Z-d"„e.j/ 0¦«D¦«Z1d S)&ra¿HTTP request handler base class. The following explanation of HTTP serves to guide you through the code as well as to expose any misunderstandings I may have about HTTP (so you don't need to read the code to figure out I'm wrong :-). HTTP (HyperText Transfer Protocol) is an extensible protocol on top of a reliable stream transport (e.g. TCP/IP). The protocol recognizes three parts to a request: 1. One line identifying the request type and path 2. An optional set of RFC-822-style headers 3. An optional data part The headers and data are separated by a blank line. The first line of the request has the form where is a (case-sensitive) keyword such as GET or POST, is a string containing path information for the request, and should be the string "HTTP/1.0" or "HTTP/1.1". is encoded using the URL encoding scheme (using %xx to signify the ASCII character with hex code xx). The specification specifies that lines are separated by CRLF but for compatibility with the widest range of clients recommends servers also handle LF. Similarly, whitespace in the request line is treated sensibly (allowing multiple spaces between components and allowing trailing whitespace). Similarly, for output, lines ought to be separated by CRLF pairs but most clients grok LF characters just fine. If the first line of the request has the form (i.e. is left out) then this is assumed to be an HTTP 0.9 request; this form has no optional headers and data part and the reply consists of just the data. The reply form of the HTTP 1.x protocol again has three parts: 1. One line giving the response code 2. An optional set of RFC-822-style headers 3. The data Again, the headers and data are separated by a blank line. The response code line has the form where is the protocol version ("HTTP/1.0" or "HTTP/1.1"), is a 3-digit response code indicating success or failure of the request, and is an optional human-readable string explaining what the response code means. This server parses the request and the headers, and then calls a function specific to the request type (). Specifically, a request SPAM will be handled by a method do_SPAM(). If no such method exists the server sends an error response to the client. If it exists, it is called with no arguments: do_SPAM() Note that the request name is case sensitive (i.e. SPAM and spam are different requests). The various request details are stored in instance variables: - client_address is the client IP address in the form (host, port); - command, path and version are the broken-down request line; - headers is an instance of email.message.Message (or a derived class) containing the header information; - rfile is a file object open for reading positioned at the start of the optional input data part; - wfile is a file object open for writing. IT IS IMPORTANT TO ADHERE TO THE PROTOCOL FOR WRITING! The first thing to be written must be the response line. Then follow 0 or more header lines, then a blank line, and then the actual data (if any). The meaning of the header lines depends on the command executed by the server; in most cases, when data is returned, there should be at least one header line of the form Content-type: / where and should be registered MIME types, e.g. "text/html" or "text/plain". zPython/rz BaseHTTP/úHTTP/0.9cóØ—d|_|jx|_}d|_t |jd¦«}| d¦«}||_| ¦«}t|¦«dkrdSt|¦«dk�rp|d} |  d ¦«st‚| d d ¦«d }| d ¦«}t|¦«d krt‚td„|D¦«¦«rtd¦«‚td„|D¦«¦«rtd¦«‚t|d¦«t|d ¦«f}n;#ttf$r'| t jd|z¦«YdSwxYw|dkr|jdkrd|_|dkr%| t jd|z¦«dS||_d t|¦«cxkrdks'n| t jd|z¦«dS|dd …\}}t|¦«d kr2d|_|dkr%| t jd|z¦«dS||c|_|_|j  d¦«r"d |j d ¦«z|_ t,j |j|j¬¦«|_n›#t,jj$r9}| t jdt |¦«¦«Yd}~dSd}~wt,jj$r9}| t jdt |¦«¦«Yd}~dSd}~wwxYw|j dd¦«} |   ¦«d krd|_n*|   ¦«d!kr|jdkrd|_|j d"d¦«} |   ¦«d#kr,|jdkr!|jdkr| !¦«sdSdS)$aHParse a request (internal). The request should be stored in self.raw_requestline; the results are in self.command, self.path, self.request_version and self.headers. Return True for success, False for failure; on failure, any relevant error response has already been sent back. NTz iso-8859-1ú rFééÿÿÿÿzHTTP/ú/r ú.r c3ó@K—|]}| ¦« V—ŒdS©N)Úisdigit©Ú.0Ú components rú z7BaseHTTPRequestHandler.parse_request../s1èè€ÐOÐO°9˜9×,Ò,Ñ.Ô.Ð.ÐOÐOÐOÐOÐOÐOrznon digit in http versionc3ó<K—|]}t|¦«dkV—ŒdS)é N)Úlenr,s rr/z7BaseHTTPRequestHandler.parse_request..1s-èè€ÐKÐK¨y•s˜9‘~”~¨Ò*ÐKÐKÐKÐKÐKÐKrz unreasonable length http versionzBad request version (%r))r r zHTTP/1.1)r rzInvalid HTTP version (%s)zBad request syntax (%r)ÚGETzBad HTTP/0.9 request type (%r)z//)Ú_classz Line too longzToo many headersÚ ConnectionÚÚcloseú keep-aliveÚExpectz 100-continue)"ÚcommandÚdefault_request_versionÚrequest_versionÚclose_connectionÚstrÚraw_requestlineÚrstripÚ requestlineÚsplitr2Ú startswithÚ ValueErrorÚanyÚintÚ IndexErrorÚ send_errorrÚ BAD_REQUESTÚprotocol_versionÚHTTP_VERSION_NOT_SUPPORTEDÚpathÚlstripÚhttpÚclientÚ parse_headersÚrfileÚ MessageClassÚheadersÚ LineTooLongÚREQUEST_HEADER_FIELDS_TOO_LARGEÚ HTTPExceptionÚgetÚlowerÚhandle_expect_100) rÚversionrAÚwordsÚbase_version_numberÚversion_numberr:rLÚerrÚconntypeÚexpects rÚ parse_requestz$BaseHTTPRequestHandler.parse_request sÇ€ðˆŒ Ø)-Ô)EÐEˆÔ˜wØ $ˆÔݘ$Ô.° Ñ=Ô=ˆ Ø!×(Ò(¨Ñ0Ô0ˆ Ø&ˆÔØ×!Ò!Ñ#Ô#ˆÝ ˆu‰:Œ:˜Š?ˆ?Ø�5å ˆu‰:Œ:˜Š?‰?ؘB”iˆGð Ø×)Ò)¨'Ñ2Ô2ð%Ý$Ð$Ø&-§m¢m°C¸Ñ&;Ô&;¸AÔ&>Ð#Ø!4×!:Ò!:¸3Ñ!?Ô!?�õ�~Ñ&Ô&¨!Ò+Ð+Ý$Ð$ÝÐOÐOÀÐOÑOÔOÑOÔOðBÝ$Ð%@ÑAÔAÐAÝÐKÐK¸NÐKÑKÔKÑKÔKðIÝ$Ð%GÑHÔHÐHÝ!$ ^°AÔ%6Ñ!7Ô!7½¸^ÈAÔ=NÑ9OÔ9OÐ!O��øÝ¥ Ð+ð ð ð Ø—’ÝÔ*Ø.°Ñ8ñ:ô:ð:ð�u�uð  øøøð  Ò'Ð'¨DÔ,AÀZÒ,OÐ,OØ(-�Ô%Ø Ò'Ð'Ø—’ÝÔ9Ø/Ð2EÑEñGôGðGð�uØ#*ˆDÔ à•C˜‘J”JÐ#Ð#Ò#Ð# !Ò#Ð#Ð#Ð#Ø �OŠOÝÔ&Ø)¨KÑ7ñ 9ô 9ð 9ð�5ؘb˜q˜bœ ‰ ˆ�Ý ˆu‰:Œ:˜Š?ˆ?Ø$(ˆDÔ !ؘ%ÒÐØ—’ÝÔ*Ø4°wÑ>ñ@ô@ð@ð�uØ")¨4ЈŒ �d”ið Œ9× Ò  Ñ %Ô %ð 4ؘdœi×.Ò.¨sÑ3Ô3Ñ3ˆDŒIð Ýœ;×4Ò4°T´ZØ<@ÔŠ>Ñ Ô ˜wÒ &Ð &Ø$(ˆDÔ !Ð !Ø�nŠnÑÔ ,Ò.Ð.ØÔ# zÒ1Ð1Ø$)ˆDÔ !à”×!Ò! (¨BÑ/Ô/ˆØ �LŠL‰NŒN˜nÒ ,Ð ,ØÔ%¨Ò3Ð3ØÔ$¨ Ò2Ð2Ø×)Ò)Ñ+Ô+ð Ø�u؈ts7ÂC!E6Å64F.Æ-F.Ë0L Ì N#Ì.MÍN#Í*.NÎN#cól—| tj¦«| ¦«dS)a7Decide what to do with an "Expect: 100-continue" header. If the client is expecting a 100 Continue response, we must respond with either a 100 Continue or a final response before waiting for the request body. The default is to always respond with a 100 Continue. You can behave differently (for example, reject unauthorized requests) by overriding this method. This method should either return True (possibly after sending a 100 Continue response) or send an error response and return False. T)Úsend_response_onlyrÚCONTINUEÚ end_headers©rs rrYz(BaseHTTPRequestHandler.handle_expect_100ys2€ð ×Ò¥ Ô 3Ñ4Ô4Ð4Ø ×ÒÑÔÐØˆtrcó†— |j d¦«|_t|j¦«dkr6d|_d|_d|_| tj ¦«dS|js d|_ dS|  ¦«sdSd|jz}t||¦«s*| tj d|jz¦«dSt||¦«}|¦«|j ¦«dS#t"$r(}| d|¦«d|_ Yd}~dSd}~wwxYw) zÜHandle a single HTTP request. You normally don't need to override this method; see the class __doc__ string for information on how to handle specific HTTP commands such as GET and POST. iir6NTÚdo_zUnsupported method (%r)zRequest timed out: %r)rQÚreadliner?r2rAr<r:rHrÚREQUEST_URI_TOO_LONGr=raÚhasattrÚNOT_IMPLEMENTEDÚgetattrÚwfileÚflushÚ TimeoutErrorÚ log_error)rÚmnameÚmethodÚes rÚhandle_one_requestz)BaseHTTPRequestHandler.handle_one_request‹s_€ð Ø#'¤:×#6Ò#6°uÑ#=Ô#=ˆDÔ Ý�4Ô'Ñ(Ô(¨5Ò0Ð0Ø#%�Ô Ø')�Ô$Ø!�” Ø—’¥ Ô ?Ñ@Ô@Ð@Ø�ØÔ'ð Ø(,�Ô%Ø�Ø×%Ò%Ñ'Ô'ð à�ؘDœLÑ(ˆEݘ4 Ñ'Ô'ð Ø—’ÝÔ.Ø-°´ Ñ<ñ>ô>ð>ð�ݘT 5Ñ)Ô)ˆFØ ˆF‰HŒHˆHØ ŒJ× Ò Ñ Ô Ð Ð Ð øÝð ð ð à �NŠNÐ2°AÑ 6Ô 6Ð 6Ø$(ˆDÔ !Ø ˆFˆFˆFˆFˆFøøøøð  øøøs1‚A+DÁ/DÁ?DÂADÃ3DÄ EÄD;Ä;Ecó„—d|_| ¦«|js| ¦«|j¯dSdS)z&Handle multiple requests if necessary.TN)r=rurfs rÚhandlezBaseHTTPRequestHandler.handle°sZ€à $ˆÔà ×ÒÑ!Ô!Ð!ØÔ'ð &Ø × #Ò #Ñ %Ô %Ð %ðÔ'ð &ð &ð &ð &ð &rNcóð— |j|\}}n#t$rd\}}YnwxYw|€|}|€|}| d||¦«| ||¦«| dd¦«d}|dkr¼|t jt jt jfvr—|j |tj |d¬¦«tj |d¬¦«d œz}|  d d ¦«}| d |j ¦«| d tt|¦«¦«¦«| ¦«|jdkr|r|j |¦«dSdSdS)akSend and log an error reply. Arguments are * code: an HTTP error code 3 digits * message: a simple optional 1 line reason phrase. *( HTAB / SP / VCHAR / %x80-FF ) defaults to short entry matching the response code * explain: a detailed message defaults to the long entry matching the response code. This sends an error response (so it must be called before any output has been generated), logs the error, and finally sends a piece of HTML explaining the error to the user. )ú???ryNzcode %d, message %sr5r7éÈF©Úquote)ÚcodeÚmessageÚexplainzUTF-8Úreplacez Content-TypeúContent-LengthÚHEAD)Ú responsesÚKeyErrorrqÚ send_responseÚ send_headerrÚ NO_CONTENTÚ RESET_CONTENTÚ NOT_MODIFIEDÚerror_message_formatÚhtmlÚescapeÚencodeÚerror_content_typer>r2rer:rnÚwrite)rr}r~rÚshortmsgÚlongmsgÚbodyÚcontents rrHz!BaseHTTPRequestHandler.send_error¸s¬€ð$ -Ø $¤¨tÔ 4Ñ ˆH�g�gøÝð -ð -ð -Ø ,Ñ ˆH�g�g�gð -øøøà ˆ?؈GØ ˆ?؈GØ �ŠÐ,¨d°GÑ<Ô<Ð<Ø ×Ò˜4 Ñ)Ô)Ð)Ø ×Ò˜ wÑ/Ô/Ð/ð ˆØ �CŠKˆKØ �Ô.Ý#Ô1Ý#Ô0ð2ð 2ð 2ð Ô0ØÝœ; w°eÐ<Ñ<Ô<Ýœ; w°eÐ<Ñ<Ô<ð4ð4ñˆGð —>’> '¨9Ñ5Ô5ˆDØ × Ò ˜^¨TÔ-DÑ EÔ EÐ EØ × Ò Ð-­sµ3°t±9´9©~¬~Ñ >Ô >Ð >Ø ×ÒÑÔÐà Œ<˜6Ò !Ð ! dÐ !Ø ŒJ× Ò ˜TÑ "Ô "Ð "Ð "Ð "ð "Ð !Ð !Ð !s ‚“%¤%cóü—| |¦«| ||¦«| d| ¦«¦«| d| ¦«¦«dS)zÁAdd the response header to the headers buffer and log the response code. Also send two standard headers with the server software version and the current date. ÚServerÚDateN)Ú log_requestrcr†Úversion_stringÚdate_time_string©rr}r~s rr…z$BaseHTTPRequestHandler.send_responseísx€ð ×Ò˜ÑÔÐØ ×Ò  gÑ.Ô.Ð.Ø ×Ò˜ 4×#6Ò#6Ñ#8Ô#8Ñ9Ô9Ð9Ø ×Ò˜ ×!6Ò!6Ñ!8Ô!8Ñ9Ô9Ð9Ð9Ð9rcó—|jdkrs|€||jvr|j|d}nd}t|d¦«sg|_|j d|j||fz dd¦«¦«dSdS) zSend the response header only.r"Nrr6Ú_headers_bufferz %s %d %s úlatin-1Ústrict)r<rƒrkrœÚappendrJr�ršs rrcz)BaseHTTPRequestHandler.send_response_onlyúsª€à Ô  :Ò -Ð -؈ؘ4œ>Ð)Ð)Ø"œn¨TÔ2°1Ô5�G�Gà �Gݘ4Ð!2Ñ3Ô3ð *Ø')�Ô$Ø Ô × 'Ò '¨ØÔ*¨D°'Ð:ñ*;ß)rr}Úsizes rr—z"BaseHTTPRequestHandler.log_request!s\€õ �d�JÑ 'Ô 'ð Ø”:ˆDØ ×Ò˜ØÔ)­3¨t©9¬9µc¸$±i´iñ Aô Að Að Að Arcó"—|j|g|¢RŽdS)zÿLog an error. This is called when a request cannot be fulfilled. By default it passes the message on to log_message(). Arguments are the same as for log_message(). XXX This should go to the separate error log. N)r«)rÚformatÚargss rrqz BaseHTTPRequestHandler.log_error,s%€ð ˆÔ˜Ð' $Ð'Ð'Ð'Ð'Ð'Ð'rcó—i|] }|d|d›�“Œ S)z\xÚ02xr)r-Úcs rú z!BaseHTTPRequestHandler.<s"€Ð VÐ VÐ V !ˆQ� �a� � � Ð VÐ VÐ Vré éé z\\ú\c óØ—||z}tj | ¦«›d| ¦«›d| |j¦«›d�¦«dS)aZLog an arbitrary message. This is used by all other logging functions. Override it if you have specific logging wishes. The first argument, FORMAT, is a format string for the message to be logged. If the format string contains any % escapes requiring parameters, they should be specified as subsequent arguments (it's just like printf!). The client ip and current date/time are prefixed to every message. Unicode control characters are replaced with escaped hex before writing the output to stderr. z - - [z] ú N)ÚsysÚstderrr�Úaddress_stringÚlog_date_time_stringÚ translateÚ_control_char_table)rr®r¯r~s rr«z"BaseHTTPRequestHandler.log_message?s€€ð(˜4‘-ˆÝ Œ ×ÒØ×-Ò-Ñ/Ô/Ð/Ð/Ø×3Ò3Ñ5Ô5Ð5Ð5Ø!×+Ò+¨DÔ,DÑEÔEÐEÐEðGñ Hô Hð Hð Hð Hrcó&—|jdz|jzS)z*Return the server software version string.ú )Úserver_versionÚ sys_versionrfs rr˜z%BaseHTTPRequestHandler.version_stringYs€àÔ" SÑ(¨4Ô+;Ñ;Ð;rcón—|€tj¦«}tj |d¬¦«S)z@Return the current date and time formatted for a message header.NT)Úusegmt)ÚtimeÚemailÚutilsÚ formatdate)rÚ timestamps rr™z'BaseHTTPRequestHandler.date_time_string]s.€à Ð Ýœ ™ œ ˆIÝŒ{×%Ò% i¸Ð%Ñ=Ô=Ð=rc ó”—tj¦«}tj|¦«\ }}}}}}}} } d||j|||||fz} | S)z.Return the current time formatted for logging.z%02d/%3s/%04d %02d:%02d:%02d)rÆÚ localtimeÚ monthname) rÚnowÚyearÚmonthÚdayÚhhÚmmÚssÚxÚyÚzÚss rr½z+BaseHTTPRequestHandler.log_date_time_stringcsW€åŒi‰kŒkˆÝ04´¸sÑ0CÔ0CÑ-ˆˆe�S˜"˜b " a¨¨AØ *Ø�T”^ EÔ*¨D°"°b¸"ð.>ñ >ˆàˆr)ÚMonÚTueÚWedÚThuÚFriÚSatÚSun) NÚJanÚFebÚMarÚAprÚMayÚJunÚJulÚAugÚSepÚOctÚNovÚDeccó—|jdS)zReturn the client address.r)Úclient_addressrfs rr¼z%BaseHTTPRequestHandler.address_stringqs€ðÔ" 1Ô%Ð%rúHTTP/1.0có,—i|]}||j|jf“ŒSr)ÚphraseÚ description)r-Úvs rr³z!BaseHTTPRequestHandler.€s3€ðððà ð ˆAŒH�a”mÐ $ðððr)NNr*)r¨r¨)2rrrÚ__doc__rºrZrBrÃÚ __version__rÂÚDEFAULT_ERROR_MESSAGErŠÚDEFAULT_ERROR_CONTENT_TYPErŽr;rarYrurwrHr…rcr†rer¥r—rqr>Ú maketransÚ itertoolsÚchainÚranger¿Úordr«r˜r™r½Ú weekdaynamerÍr¼rJrNrOÚ HTTPMessagerRrÚ __members__Úvaluesrƒrrrrr’s=€€€€€ðdðdðN˜cœk×/Ò/Ñ1Ô1°!Ô4Ñ4€Kð ! ;Ñ.€Nà0ÐØ3Ðð )Ððlðlðlð\ððð$#ð#ð#ðJ&ð&ð&ð3#ð3#ð3#ð3#ðj :ð :ð :ð :ð .ð .ð .ð .ð .ð .ð .ð!ð!ð!ð &ð&ð&ð Að Að Að Að (ð (ð (ðŸ-š-Ø VÐ V  y¤°u°u¸T±{´{ÀEÀEÈ$ÈtÑDTÔDTÑ'UÔ'UÐ VÑ VÔ VñXôXÐà%*И˜˜D™ œ Ñ"ðHðHðHð4<ð<ð<ð>ð>ð>ð>ð ðððDÐCÐC€Kð;ð;ð;€Ið&ð&ð&ð"Ðð”;Ô*€LððàÔ'×.Ò.Ñ0Ô0ðñô€I€I€Irrcón‡—eZdZdZdezZdddddœxZZdd œˆfd „ Zd „Z d „Z d „Z d„Z d„Z d„Zd„ZˆxZS)raWSimple HTTP request handler with GET and HEAD commands. This serves files from the current directory and any of its subdirectories. The MIME type for files is determined by calling the .guess_type() method. The GET and HEAD requests are identical except that the HEAD request omits the actual contents of the file. z SimpleHTTP/zapplication/gzipúapplication/octet-streamzapplication/x-bzip2zapplication/x-xz)z.gzz.Zz.bz2z.xzN©Ú directorycó–•—|€tj¦«}tj|¦«|_t ¦«j|i|¤ŽdSr*)ÚosÚgetcwdÚfspathrÚsuperÚ__init__)rrr¯ÚkwargsÚ __class__s €rr z!SimpleHTTPRequestHandler.__init__›sGø€Ø Ð Ýœ ™ œ ˆIÝœ 9Ñ-Ô-ˆŒØ�‰ŒÔ˜$Ð) &Ð)Ð)Ð)Ð)Ð)rcóÈ—| ¦«}|rK | ||j¦«| ¦«dS#| ¦«wxYwdS)zServe a GET request.N)Ú send_headÚcopyfilernr7©rÚfs rÚdo_GETzSimpleHTTPRequestHandler.do_GET¡sa€à �NŠNÑ Ô ˆØ ð ð Ø— ’ ˜a ¤Ñ,Ô,Ð,à—’‘ ” � � � ø�—’‘ ” � � øøøð  ð s ˜A Á Acó^—| ¦«}|r| ¦«dSdS)zServe a HEAD request.N)r r7rs rÚdo_HEADz SimpleHTTPRequestHandler.do_HEADªs4€à �NŠNÑ Ô ˆØ ð Ø �GŠG‰IŒIˆIˆIˆIð ð rcód—| |j¦«}d}tj |¦«�rCtj |j¦«}|j d¦«s¨| tj ¦«|d|d|ddz|d|df}tj  |¦«}|  d|¦«|  d d ¦«|  ¦«dSd D]E}tj ||¦«}tj |¦«r|}nŒF| |¦«S| |¦«}| d¦«r"| tjd ¦«dS t)|d ¦«}n1#t*$r$| tjd ¦«YdSwxYw tj| ¦«¦«}d|jv�r6d|jv�r, t2j |jd¦«} | j€%|  t<jj ¬¦«} | jt<jj ur™t<j !|j"t<jj ¦«} |  d¬¦«} | | krI| tj#¦«|  ¦«| $¦«dSn##tJtLtNtPf$rYnwxYw| tj)¦«|  d|¦«|  d tU|d¦«¦«|  d| +|j"¦«¦«|  ¦«|S#| $¦«‚xYw)a{Common code for GET and HEAD commands. This sends the response code and MIME headers. Return value is either a file object (which has to be copied to the outputfile by the caller unless the command was HEAD, and must be closed by the caller under all circumstances), or None, in which case the caller has nothing further to do. Nr'rr r r%éÚLocationr�Ú0)z index.htmlz index.htmzFile not foundÚrbzIf-Modified-Sincez If-None-Match)Útzinfo)Ú microsecondú Content-typeéz Last-Modified),Útranslate_pathrLrÚisdirÚurllibÚparseÚurlsplitÚendswithr…rÚMOVED_PERMANENTLYÚ urlunsplitr†rer§ÚisfileÚlist_directoryÚ guess_typerHÚ NOT_FOUNDÚopenÚOSErrorÚfstatÚfilenorSrÇrÈÚparsedate_to_datetimerr€ÚdatetimeÚtimezoneÚutcÚ fromtimestampÚst_mtimer‰r7Ú TypeErrorrGÚ OverflowErrorrDÚOKr>r™) rrLrÚpartsÚ new_partsÚnew_urlÚindexÚctypeÚfsÚimsÚ last_modifs rr z"SimpleHTTPRequestHandler.send_head°sã€ð×"Ò" 4¤9Ñ-Ô-ˆØ ˆÝ Œ7�=Š=˜Ñ Ô ñ 1Ý”L×)Ò)¨$¬)Ñ4Ô4ˆEØ”:×&Ò& sÑ+Ô+ð à×"Ò"¥:Ô#?Ñ@Ô@Ð@Ø" 1œX u¨Q¤x°°q´¸C±Ø" 1œX u¨Q¤xð1� å œ,×1Ò1°)Ñ<Ô<�Ø× Ò  ¨WÑ5Ô5Ð5Ø× Ò Ð!1°3Ñ7Ô7Ð7Ø× Ò Ñ"Ô"Ð"Ø�tØ2ð 1ð 1�ÝœŸ š  T¨5Ñ1Ô1�Ý”7—>’> %Ñ(Ô(ðØ �DØ�Eðð×*Ò*¨4Ñ0Ô0Ð0Ø—’ Ñ%Ô%ˆð �=Š=˜Ñ Ô ð Ø �OŠO�JÔ0Ð2BÑ CÔ CÐ CØ�4ð Ý�T˜4Ñ Ô ˆAˆAøÝð ð ð Ø �OŠO�JÔ0Ð2BÑ CÔ CÐ CØ�4�4ð øøøð' Ý”˜!Ÿ(š(™*œ*Ñ%Ô%ˆBà# t¤|Ð3Ñ3Ø'¨t¬|Ð;Ñ;ð(Ýœ+×;Ò;Øœ Ð%8Ô9ñ;ô;�Cð ”zÐ)ð"ŸkškµÔ1BÔ1F˜kÑGÔG˜Ø”z¥XÔ%6Ô%:Ð:Ð:å%-Ô%6×%DÒ%DØœK­Ô):Ô)>ñ&@ô&@˜ ð&0×%7Ò%7ÀAÐ%7Ñ%FÔ%F˜ à%¨Ò,Ð,Ø ×.Ò.­zÔ/FÑGÔGÐGØ ×,Ò,Ñ.Ô.Ð.ØŸGšG™IœI˜IØ#' 4øøõ'"¥:­}½jÐIðððà�Dðøøøð* × Ò �zœ}Ñ -Ô -Ð -Ø × Ò ˜^¨UÑ 3Ô 3Ð 3Ø × Ò Ð-­s°2°a´5©z¬zÑ :Ô :Ð :Ø × Ò ˜_Ø×%Ò% b¤kÑ2Ô2ñ 4ô 4ð 4à × Ò Ñ Ô Ð ØˆHøð Ø �GŠG‰IŒIˆIØ øøøsJÇ GÇ*H È H È:PÉ *MÉ5CPÍPÍM3Í0PÍ2M3Í3B$PÐP/c ó�— tj|¦«}n1#t$r$| tjd¦«YdSwxYw| d„¬¦«g} tj  |j d¬¦«}n4#t$r'tj  |j ¦«}YnwxYwtj |d¬¦«}tj¦«}d |›�}| d ¦«| d ¦«| d ¦«| d |›d�¦«| d|›d�¦«| d|›d�¦«| d¦«|D]Â}tj  ||¦«}|x} } tj  |¦«r |dz} |dz} tj  |¦«r|dz} | dtj | d¬¦«›dtj | d¬¦«›d�¦«ŒÃ| d¦«d |¦« |d¦«} t-j¦«} |  | ¦«|  d¦«| tj¦«| dd|z¦«| dt;t=| ¦«¦«¦«| ¦«| S)zûHelper to produce a directory listing (absent index.html). Return value is either a file object, or None (indicating an error). In either case, the headers are sent, making the interface the same as for send_head(). zNo permission to list directoryNcó*—| ¦«Sr*)rX)Úas rúz9SimpleHTTPRequestHandler.list_directory..s€ §¢¡ ¤ €r)ÚkeyÚ surrogatepass©ÚerrorsFr{zDirectory listing for zzzzzz z

z

z