§ {<ˆjÓ±ãó˜—dZddlmZmZmZmZddlmZddlTdZ ddgZ ddl m Z dd l mZdd lmZdd l mZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZd ZdZ d„Z!Gd„dej"¦«Z#Gd„dej$¦«Z%Gd„de%¦«Z&d„Z'd a(d„Z)d„Z*Gd„de&¦«Z+e%e#ddfd„Z,e-dkr…ej.¦«Z/e/ 0ddd¬ ¦«e/ 0d!d"de1d#d$¬%¦«e/ 2¦«Z3e3j4re,e+e3j5¬&¦«d Se,e&e3j5¬&¦«d Sd S)'aQHTTP server classes. From Python 3.3 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 é)Úabsolute_importÚdivisionÚprint_functionÚunicode_literals)Úutils)Ú*z0.6Ú HTTPServerÚBaseHTTPRequestHandler©Úhtml)Úclient)Úparse)Ú socketserverNa¹ Error response

Error response

Error code: %(code)d

Message: %(message)s.

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

ztext/html;charset=utf-8cót—|jdd¦« dd¦« dd¦«S)Nú&z&úz>)Úreplacer s ún/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/future/backports/http/server.pyÚ _quote_htmlr„s6€Ø ˆ4Œ<˜˜WÑ %Ô %× -Ò -¨c°6Ñ :Ô :× BÒ BÀ3ÈÑ OÔ OÐOócó—eZdZdZd„ZdS)r écóÌ—tj |¦«|j ¦«dd…\}}tj|¦«|_||_dS)z.Override server_bind to store the server name.Né)rÚ TCPServerÚ server_bindÚsocketÚ getsocknameÚgetfqdnÚ server_nameÚ server_port)ÚselfÚhostÚports rrzHTTPServer.server_bind‹sY€åÔ×*Ò*¨4Ñ0Ô0Ð0Ø”[×,Ò,Ñ.Ô.¨r°¨rÔ2‰ ˆˆdÝ!œ>¨$Ñ/Ô/ˆÔ؈ÔÐÐrN)Ú__name__Ú __module__Ú __qualname__Úallow_reuse_addressr©rrr r ‡s)€€€€€àÐð ð ð ð ð rc óì—eZdZdZdej ¦«dzZdezZ e Z e Z dZd„Zd„Zd„Zd „Zdkd „Zdkd „Zdkd „Zd„Zd„Zd„Zdld„Zd„Zd„Zd„Zdkd„Zd„Zgd¢Zgd¢Z d„Z!dZ"e#j$Z%idd“dd“d d!“d"d#“d$d%“d&d'“d(d)“d*d+“d,d-“d.d/“d0d1“d2d3“d4d5“d6d7“d8d9“d:d;“dd?“d@dA“dBdC“dDdE“dFdG“dHdI“dJdK“dLdM“dNdO“dPdQ“dRdS“dTdU“dVdW“dXdY“dZd[“d\d]“d^d_“¥d`dadbdcdddedfdgdhdidjœ ¥Z&d S)mr a¿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|¦«dk�r|\}}}|dd…dkr|  dd |z¦«d S | d d¦«d}| d ¦«}t|¦«d krt‚t|d¦«t|d¦«f}n1#ttf$r|  dd |z¦«Yd SwxYw|dkr|jdkrd|_|dkr|  dd|z¦«d Sn`t|¦«d kr.|\}}d|_|dkr|  dd|z¦«d Sn|sd S|  dd|z¦«d S|||c|_|_|_ t!j|j|j¬¦«|_n,#t j$r|  dd¦«Yd SwxYw|j dd¦«}| ¦«dkrd|_n*| ¦«dkr|jdkrd|_|j dd¦«} |  ¦«dkr,|jdkr!|jdkr| ¦«sd SdS) a'Parse 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, an error is sent back. Nrz iso-8859-1ú éézHTTP/é�zBad request version (%r)Fú/ú.rr)rrzHTTP/1.1)rréùzInvalid HTTP Version (%s)ÚGETzBad HTTP/0.9 request type (%r)zBad request syntax (%r))Ú_classz Line too longÚ ConnectionÚÚcloseú keep-aliveÚExpectz 100-continueT)ÚcommandÚdefault_request_versionÚrequest_versionÚclose_connectionÚstrÚraw_requestlineÚrstripÚ requestlineÚsplitÚlenÚ send_errorÚ ValueErrorÚintÚ IndexErrorÚprotocol_versionÚpathÚ http_clientÚ parse_headersÚrfileÚ MessageClassÚheadersÚ LineTooLongÚgetÚlowerÚhandle_expect_100) r#ÚversionrCÚwordsr<rKÚbase_version_numberÚversion_numberÚconntypeÚexpects rÚ parse_requestz$BaseHTTPRequestHandler.parse_request s‰€ðˆŒ Ø)-Ô)EÐEˆÔ˜wØ !ˆÔݘ$Ô.° Ñ=Ô=ˆ Ø!×(Ò(¨Ñ0Ô0ˆ Ø&ˆÔØ×!Ò!Ñ#Ô#ˆÝ ˆu‰:Œ:˜Š?‰?Ø%*Ñ "ˆG�T˜7Ø�r˜�rŒ{˜gÒ%Ð%Ø—’ Ð%?À'Ñ%IÑJÔJÐJØ�uð Ø&-§m¢m°C¸Ñ&;Ô&;¸AÔ&>Ð#Ø!4×!:Ò!:¸3Ñ!?Ô!?�õ�~Ñ&Ô&¨!Ò+Ð+Ý$Ð$Ý!$ ^°AÔ%6Ñ!7Ô!7½¸^ÈAÔ=NÑ9OÔ9OÐ!O��øÝ¥ Ð+ð ð ð Ø—’ Ð%?À'Ñ%IÑJÔJÐJØ�u�uð øøøð Ò'Ð'¨DÔ,AÀZÒ,OÐ,OØ()�Ô%Ø Ò'Ð'Ø—’ Ø5Ð8KÑKñMôMðMà�uð(õ�‰ZŒZ˜1Š_ˆ_Ø!‰MˆG�TØ$%ˆDÔ !ؘ%ÒÐØ—’ Ø @À7Ñ JñLôLðLà�uð ðð Ø�5à �OŠO˜CÐ!:¸[Ñ!HÑ IÔ IÐ IØ�5Ø8?ÀÀwÐ5ˆŒ �d”i Ô!5ð Ý&Ô4°T´ZØ<@ÔŠ>Ñ Ô ˜wÒ &Ð &Ø$%ˆDÔ !Ð !Ø�nŠnÑÔ ,Ò.Ð.ØÔ# zÒ1Ð1Ø$%ˆDÔ !à”×!Ò! (¨BÑ/Ô/ˆØ �LŠL‰NŒN˜nÒ ,Ð ,ØÔ%¨Ò3Ð3ØÔ$¨ Ò2Ð2Ø×)Ò)Ñ+Ô+ð Ø�u؈ts%Â&A5DÄ*E Å E Ç>%H$È$%I É I cóX—| d¦«| ¦«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. édT)Úsend_response_onlyÚ flush_headers©r#s rrTz(BaseHTTPRequestHandler.handle_expect_100]s/€ð ×Ò Ñ$Ô$Ð$Ø ×ÒÑÔÐØˆtrcóh— |j d¦«|_t|j¦«dkr,d|_d|_d|_| d¦«dS|js d|_dS|  ¦«sdSd|jz}t||¦«s | dd |jz¦«dSt||¦«}|¦«|j   ¦«dS#tj$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. iir8éžNrÚdo_éõzUnsupported method (%r)zRequest timed out: %r)rNÚreadlinerArErCr>r<rFr?r[ÚhasattrÚgetattrÚwfileÚflushrÚtimeoutÚ log_error)r#ÚmnameÚmethodÚes rÚhandle_one_requestz)BaseHTTPRequestHandler.handle_one_requestosR€ð Ø#'¤:×#6Ò#6°uÑ#=Ô#=ˆDÔ Ý�4Ô'Ñ(Ô(¨5Ò0Ð0Ø#%�Ô Ø')�Ô$Ø!�” Ø—’ Ñ$Ô$Ð$Ø�ØÔ'ð Ø()�Ô%Ø�Ø×%Ò%Ñ'Ô'ð à�ؘDœLÑ(ˆEݘ4 Ñ'Ô'ð Ø—’ Ð%>ÀÄÑ%MÑNÔNÐNØ�ݘT 5Ñ)Ô)ˆFØ ˆF‰HŒHˆHØ ŒJ× Ò Ñ Ô Ð Ð Ð øÝŒ~ð ð ð à �NŠNÐ2°AÑ 6Ô 6Ð 6Ø$%ˆDÔ !Ø ˆFˆFˆFˆFˆFøøøøð  øøøs0‚A!C:Á%C:Á5C: 8C:Ã3C:Ã:D1Ä D,Ä,D1có„—d|_| ¦«|js| ¦«|j¯dSdS)z&Handle multiple requests if necessary.rN)r?ror`s rÚhandlezBaseHTTPRequestHandler.handle’sZ€à !ˆÔà ×ÒÑ!Ô!Ð!ØÔ'ð &Ø × #Ò #Ñ %Ô %Ð %ðÔ'ð &ð &ð &ð &ð &rNcó — |j|\}}n#t$rd\}}YnwxYw|€|}|}| d||¦«|j|t |¦«|dœz}| ||¦«| d|j¦«| dd¦«| ¦«|j dkr:|d kr6|d vr4|j   |  d d ¦«¦«dSdSdSdS) a‰Send and log an error reply. Arguments are the error code, and a detailed message. The detailed message defaults to the short 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. )ú???rsNzcode %d, message %s)ÚcodeÚmessageÚexplainz Content-Typer7r9ÚHEADéÈ)éÌé0zUTF-8r) Ú responsesÚKeyErrorrkÚerror_message_formatrÚ send_responseÚ send_headerÚerror_content_typeÚ end_headersr<rhÚwriteÚencode)r#rtruÚshortmsgÚlongmsgrvÚcontents rrFz!BaseHTTPRequestHandler.send_erroršs>€ð -Ø $¤¨tÔ 4Ñ ˆH�g�gøÝð -ð -ð -Ø ,Ñ ˆH�g�g�gð -øøøà ˆ?؈GØˆØ �ŠÐ,¨d°GÑ<Ô<Ð<àÔ,Ø ­[¸Ñ-AÔ-AÈgÐVÐVñWˆà ×Ò˜4 Ñ)Ô)Ð)Ø ×Ò˜¨Ô)@ÑAÔAÐAØ ×Ò˜ wÑ/Ô/Ð/Ø ×ÒÑÔÐØ Œ<˜6Ò !Ð ! d¨c¢k k°dÀ*Ð6LÐ6LØ ŒJ× Ò ˜WŸ^š^¨G°YÑ?Ô?Ñ @Ô @Ð @Ð @Ð @ð "Ð ! k kÐ6LÐ6Ls ‚“%¤%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_requestr^rÚversion_stringÚdate_time_string©r#rtrus rr~z$BaseHTTPRequestHandler.send_response¹sx€ð ×Ò˜ÑÔÐØ ×Ò  gÑ.Ô.Ð.Ø ×Ò˜ 4×#6Ò#6Ñ#8Ô#8Ñ9Ô9Ð9Ø ×Ò˜ ×!6Ò!6Ñ!8Ô!8Ñ9Ô9Ð9Ð9Ð9rcó—|€||jvr|j|d}nd}|jdkrRt|d¦«sg|_|j d|j||fz dd¦«¦«dSdS) zSend the response header only.Nrr8r,Ú_headers_bufferz %s %d %s úlatin-1Ústrict)r{r>rfr�ÚappendrJrƒr�s rr^z)BaseHTTPRequestHandler.send_response_onlyÆsª€à ˆ?Ø�t”~Ð%Ð%Øœ.¨Ô.¨qÔ1��à�Ø Ô  :Ò -Ð -ݘ4Ð!2Ñ3Ô3ð *Ø')�Ô$Ø Ô × 'Ò '¨ØÔ*¨D°'Ð:ñ*;ßrfr�r’rƒrSr?)r#ÚkeywordÚvalues rrz"BaseHTTPRequestHandler.send_headerÔsЀà Ô  :Ò -Ð -ݘ4Ð!2Ñ3Ô3ð *Ø')�Ô$Ø Ô × 'Ò 'Ø!(  ¨%¨%¨%Ð0×8Ò8¸ÀHÑMÔMñ Oô Oð Oð �=Š=‰?Œ?˜lÒ *Ð *Ø�{Š{‰}Œ} Ò'Ð'Ø()�Ô%Ð%Ð%Ø—’‘” ,Ò.Ð.Ø()�Ô%Ð%Ð%ð +Ð *ð/Ð.rcó|—|jdkr0|j d¦«| ¦«dSdS)z,Send the blank line ending the MIME headers.r,s N)r>r�r’r_r`s rr�z"BaseHTTPRequestHandler.end_headersâsG€à Ô  :Ò -Ð -Ø Ô × 'Ò '¨Ñ 0Ô 0Ð 0Ø × Ò Ñ Ô Ð Ð Ð ð .Ð -rcóœ—t|d¦«r;|j d |j¦«¦«g|_dSdS)Nr�r)rfrhr‚Újoinr�r`s rr_z$BaseHTTPRequestHandler.flush_headersèsR€Ý �4Ð*Ñ +Ô +ð &Ø ŒJ× Ò ˜SŸXšX dÔ&:Ñ;Ô;Ñ <Ô <Ð <Ø#%ˆDÔ Ð Ð ð &ð &rú-cót—| d|jt|¦«t|¦«¦«dS)zNLog an accepted request. This is called by send_response(). z "%s" %s %sN)Ú log_messagerCr@)r#rtÚsizes rrŠz"BaseHTTPRequestHandler.log_requestísC€ð ×Ò˜ØÔ)­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 rrkz BaseHTTPRequestHandler.log_error÷s%€ð ˆÔ˜Ð' $Ð'Ð'Ð'Ð'Ð'Ð'rcó¤—tj | ¦«›d| ¦«›d||z›d�¦«dS)aëLog 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. z - - [z] ú N)ÚsysÚstderrr‚Úaddress_stringÚlog_date_time_stringrŸs rrœz"BaseHTTPRequestHandler.log_messagesb€õ" Œ ×ÒØ×-Ò-Ñ/Ô/Ð/Ð/Ø×3Ò3Ñ5Ô5Ð5Ð5Ø  ™+˜+˜+ð'ñ (ô (ð (ð (ð (rcó&—|jdz|jzS)z*Return the server software version string.ú )Úserver_versionÚ sys_versionr`s rr‹z%BaseHTTPRequestHandler.version_strings€àÔ" SÑ(¨4Ô+;Ñ;Ð;rc ó°—|€tj¦«}tj|¦«\ }}}}}}}} } d|j|||j|||||fz} | S)z@Return the current date and time formatted for a message header.Nz#%s, %02d %3s %4d %02d:%02d:%02d GMT)ÚtimeÚgmtimeÚ weekdaynameÚ monthname) r#Ú timestampÚyearÚmonthÚdayÚhhÚmmÚssÚwdÚyÚzÚss rrŒz'BaseHTTPRequestHandler.date_time_stringsk€à Ð Ýœ ™ œ ˆIÝ15´¸YÑ1GÔ1GÑ.ˆˆe�S˜"˜b " b¨!¨QØ 1ØÔ  Ô$Ø�T”^ EÔ*¨DØ�B˜ð5ñ ˆðˆrc ó”—tj¦«}tj|¦«\ }}}}}}}} } d||j|||||fz} | S)z.Return the current time formatted for logging.z%02d/%3s/%04d %02d:%02d:%02d)r­Ú localtimer°) r#Únowr²r³r´rµr¶r·Úxr¹rºr»s rr§z+BaseHTTPRequestHandler.log_date_time_string*sW€åŒ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_addressr`s rr¦z%BaseHTTPRequestHandler.address_string8s€ðÔ" 1Ô%Ð%rúHTTP/1.0r])ÚContinuez!Request received, please continueée)zSwitching Protocolsz.Switching to new protocol; obey Upgrade headerrx)ÚOKz#Request fulfilled, document followséÉ)ÚCreatedzDocument created, URL followséÊ)ÚAcceptedz/Request accepted, processing continues off-lineéË)zNon-Authoritative InformationzRequest fulfilled from cachery)z No Contentz"Request fulfilled, nothing followséÍ)z Reset Contentz#Clear input form for further input.éÎ)zPartial ContentzPartial content follows.i,)zMultiple Choicesz,Object has several resources -- see URI listé-)zMoved Permanentlyz(Object moved permanently -- see URI listi.)ÚFoundú(Object moved temporarily -- see URI listi/)z See Otherz'Object moved -- see Method and URL listrz)z Not Modifiedz)Document has not changed since given timei1)z Use ProxyzAYou must use proxy specified in Location to access this resource.i3)zTemporary Redirectrâr1)z Bad Requestz(Bad request syntax or unsupported methodi‘)Ú Unauthorizedz*No permission -- see authorization schemesi’)zPayment Requiredz"No payment -- see charging schemesé“)Ú Forbiddenz0Request forbidden -- authorization will not helpé”)z Not FoundzNothing matches the given URIi•)zMethod Not Allowedz.Specified method is invalid for this resource.i–)zNot Acceptablez&URI not available in preferred format.i—)zProxy Authentication Requiredz8You must authenticate with this proxy before proceeding.i˜)zRequest Timeoutz#Request timed out; try again later.i™)ÚConflictzRequest conflict.iš)ÚGonez6URI no longer exists and has been permanently removed.i›)zLength Requiredz#Client must specify Content-Length.iœ)zPrecondition Failedz!Precondition in headers is false.i�)zRequest Entity Too LargezEntity is too large.rb)zRequest-URI Too LongzURI is too long.iŸ)zUnsupported Media Typez"Entity body in unsupported format.i )zRequested Range Not SatisfiablezCannot satisfy request range.i¡)zExpectation Failedz(Expect condition could not be satisfied.)zPrecondition Requiredz9The origin server requires the request to be conditional.)zToo Many RequestszPThe user has sent too many requests in a given amount of time ("rate limiting").)zRequest Header Fields Too LargezWThe server is unwilling to process the request because its header fields are too large.)zInternal Server ErrorzServer got itself in trouble)zNot Implementedz&Server does not support this operation)z Bad Gatewayz,Invalid responses from another server/proxy.)zService Unavailablez8The server cannot process the request due to a high load)zGateway Timeoutz4The gateway server did not receive a timely response)zHTTP Version Not SupportedzCannot fulfill request.)zNetwork Authentication Requiredz8The client needs to authenticate to gain network access.) i¬i­i¯iôrdiöi÷iør4iÿ©N)ršrš)'r&r'r(Ú__doc__r¤rUrDr«Ú __version__rªÚDEFAULT_ERROR_MESSAGEr}ÚDEFAULT_ERROR_CONTENT_TYPEr€r=r[rTrorqrFr~r^rr�r_rŠrkrœr‹rŒr§r¯r°r¦rJrLÚ HTTPMessagerOr{r*rrr r “s%€€€€€ðdðdðN˜cœk×/Ò/Ñ1Ô1°!Ô4Ñ4€Kð ! ;Ñ.€Nà0ÐØ3Ðð )ÐðOðOðOðbððð$!ð!ð!ðF&ð&ð&ðAðAðAðAð> :ð :ð :ð :ð .ð .ð .ð .ð *ð *ð *ð!ð!ð!ð &ð&ð&ð AðAðAðAð (ð (ð (ð(ð(ð(ð,<ð<ð<ð ð ð ð ððððDÐCÐC€Kð;ð;ð;€Ið&ð&ð&ð"ÐðÔ*€Lð H Ø Ð >ðH à ð@ðH ð Ð :ð H ð Ð 9ð H ð ðAðH ð Ð NðH ð Ð AðH ð Ð EðH ð Ð <ðH ð ð>ðH ð Ð Nð!H ð" Ð Bð#H ð$ Ð Eð%H ð& ð;ð'H ð* ðð+H ð0 ð:ð1H ð6 ð:ð7H ðH ð: ð<ð;H ð> ð4ð?H ðB ðBðCH ðF Ð ;ðGH ðH ð@ðIH ðL Ð IðMH ðN ð/ðOH ðR Ð GðSH ðT Ð .ðUH ðV ðHðWH ðZ Ð Gð[H ð\ Ð Ið]H ð^ Ð Að_H ð` Ð 9ðaH ðb Ð MðcH ðd ð/ðeH ðh ð:ðiH ðH ðlKð>ðNðGð8à LðJðFà FðJðMH ðH ðH €I€I€IrcóØ—eZdZdZdezZd„Zd„Zd„Zd„Z d„Z d„Z d „Z e jse j¦«e j ¦«Ze d d d d d œ¦«d S)ÚSimpleHTTPRequestHandleraWSimple 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/có”—| ¦«}|r1| ||j¦«| ¦«dSdS)zServe a GET request.N)Ú send_headÚcopyfilerhr9©r#Úfs rÚdo_GETzSimpleHTTPRequestHandler.do_GET£sJ€à �NŠNÑ Ô ˆØ ð Ø �MŠM˜!˜TœZÑ (Ô (Ð (Ø �GŠG‰IŒIˆIˆIˆIð ð rcó^—| ¦«}|r| ¦«dSdS)zServe a HEAD request.N)ròr9rôs rÚdo_HEADz SimpleHTTPRequestHandler.do_HEADªs4€à �NŠNÑ Ô ˆØ ð Ø �GŠG‰IŒIˆIˆIˆIð ð rcó—| |j¦«}d}tj |¦«rÀ|j d¦«sI| d¦«| d|jdz¦«| ¦«dSdD]E}tj ||¦«}tj  |¦«r|}nŒF|  |¦«S|  |¦«} t|d¦«}n'#t$r| dd¦«YdSwxYw| d ¦«| d |¦«tj| ¦«¦«}| d t#|d ¦«¦«| d | |j¦«¦«| ¦«|S)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. Nr2ràÚLocation)z index.htmlz index.htmÚrbræzFile not foundrxú Content-typeúContent-Lengthéz Last-Modified)Útranslate_pathrKÚosÚisdirÚendswithr~rr�r™ÚexistsÚlist_directoryÚ guess_typeÚopenÚIOErrorrFÚfstatÚfilenor@rŒÚst_mtime)r#rKrõÚindexÚctypeÚfss rròz"SimpleHTTPRequestHandler.send_head°sñ€ð×"Ò" 4¤9Ñ-Ô-ˆØ ˆÝ Œ7�=Š=˜Ñ Ô ð 1Ø”9×%Ò% cÑ*Ô*ð à×"Ò" 3Ñ'Ô'Ð'Ø× Ò  ¨T¬Y¸©_Ñ=Ô=Ð=Ø× Ò Ñ"Ô"Ð"Ø�tØ2ð 1ð 1�ÝœŸ š  T¨5Ñ1Ô1�Ý”7—>’> %Ñ(Ô(ðØ �DØ�Eðð×*Ò*¨4Ñ0Ô0Ð0Ø—’ Ñ%Ô%ˆð Ý�T˜4Ñ Ô ˆAˆAøÝð ð ð Ø �OŠO˜CÐ!1Ñ 2Ô 2Ð 2Ø�4�4ð øøøð ×Ò˜3ÑÔÐØ ×Ò˜¨Ñ/Ô/Ð/Ý ŒX�a—h’h‘j”jÑ !Ô !ˆØ ×ÒÐ)­3¨r°!¬u©:¬:Ñ6Ô6Ð6Ø ×Ò˜¨$×*?Ò*?ÀÄ Ñ*LÔ*LÑMÔMÐMØ ×ÒÑÔÐØˆsÄD#Ä# EÅEc ó”— tj|¦«}n,#tj$r| dd¦«YdSwxYw| d„¬¦«g}t jtj|j ¦«¦«}tj ¦«}d|z}|  d¦«|  d¦«|  d |z¦«|  d |z¦«|  d |z¦«|  d ¦«|D]³}tj   ||¦«}|x} } tj  |¦«r |d z} |d z} tj  |¦«r|dz} |  dtj| ¦«›dt j| ¦«›d�¦«Œ´|  d¦«d  |¦« |¦«} t%j¦«} |  | ¦«|  d¦«| d¦«| dd|z¦«| dt1t3| ¦«¦«¦«| ¦«| 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(). ræzNo permission to list directoryNcó*—| ¦«Sré)rS)Úas rúz9SimpleHTTPRequestHandler.list_directory..æs€ §¢¡ ¤ €r)ÚkeyzDirectory listing for %szZz z@z%s z

%s

z
    r2ú@z
  • z
  • z

r£rrxrüztext/html; charset=%srý)rÚlistdirÚerrorrFÚsortr ÚescapeÚ urllib_parseÚunquoterKr¤Úgetfilesystemencodingr’r™rÚislinkÚquoterƒÚioÚBytesIOr‚Úseekr~rr@rEr�) r#rKÚlistÚrÚ displaypathÚencÚtitleÚnameÚfullnameÚ displaynameÚlinknameÚencodedrõs rrz'SimpleHTTPRequestHandler.list_directoryÙsÅ€ð Ý”:˜dÑ#Ô#ˆDˆDøÝŒxð ð ð Ø �OŠO˜CÐ!BÑ CÔ CÐ CØ�4�4ð øøøð � Š Ð)Ð)ˆ Ñ*Ô*Ð*Ø ˆÝ”k¥,Ô"6°t´yÑ"AÔ"AÑBÔBˆ ÝÔ'Ñ)Ô)ˆØ*¨[Ñ8ˆØ �Šð<ñ =ô =ð =à �ŠÐ!Ñ"Ô"Ð"Ø �Šð4Ø69ñ:ñ ;ô ;ð ;à �ŠÐ-°Ñ5Ñ6Ô6Ð6Ø �ŠÐ&¨Ñ.Ñ/Ô/Ð/Ø �Š�ÑÔÐØð Pð PˆDÝ”w—|’| D¨$Ñ/Ô/ˆHØ%)Ð )ˆK˜(åŒw�}Š}˜XÑ&Ô&ð &Ø" S™j� Ø #™:�ÝŒw�~Š~˜hÑ'Ô'ð )Ø" S™j� à �HŠHˆHÝ#Ô)¨(Ñ3Ô3Ð3Ð3µT´[ÀÑ5MÔ5MÐ5MÐ5MðOñ Pô Pð Pð Pð �ŠÐ2Ñ3Ô3Ð3Ø—)’)˜A‘,”,×%Ò% cÑ*Ô*ˆÝ ŒJ‰LŒLˆØ �Š�ÑÔÐØ �Šˆq‰ Œ ˆ Ø ×Ò˜3ÑÔÐØ ×Ò˜Ð)@À3Ñ)FÑGÔGÐGØ ×ÒÐ)­3­s°7©|¬|Ñ+<Ô+<Ñ=Ô=Ð=Ø ×ÒÑÔÐØˆs‚—%A¿Acó:—| dd¦«d}| dd¦«d}tjtj|¦«¦«}| d¦«}t d|¦«}t j¦«}|D]�}t j  |¦«\}}t j |¦«\}}|t j t j fvrŒat j  ||¦«}Œ‚|S)zñTranslate a /-separated PATH to the local filename syntax. Components that mean special things to the local file system (e.g. drive or directory names) are ignored. (XXX They should probably be diagnosed.) ú?rrú#r2N) rDÚ posixpathÚnormpathrrÚfilterrÚgetcwdrKÚ splitdriveÚcurdirÚpardirr™)r#rKrVÚwordÚdriveÚheads rrÿz'SimpleHTTPRequestHandler.translate_path sé€ð�zŠz˜#˜aÑ Ô  Ô#ˆØ�zŠz˜#˜aÑ Ô  Ô#ˆÝÔ!¥,Ô"6°tÑ"<Ô"<Ñ=Ô=ˆØ— ’ ˜3‘”ˆÝ�t˜UÑ#Ô#ˆÝŒy‰{Œ{ˆØð ,ð ,ˆDÝœ'×,Ò,¨TÑ2Ô2‰KˆE�4ÝœŸš tÑ,Ô,‰JˆD�$Ø�œ ¥2¤9Ð-Ð-Ð-¨xÝ”7—<’<  dÑ+Ô+ˆDˆD؈ rcó0—tj||¦«dS)añCopy all data between two file objects. The SOURCE argument is a file object open for reading (or anything with a read() method) and the DESTINATION argument is a file object open for writing (or anything with a write() method). The only reason for overriding this would be to change the block size or perhaps to replace newlines by CRLF -- note however that this the default server uses this to copy binary data as well. N)ÚshutilÚ copyfileobj)r#ÚsourceÚ outputfiles rróz!SimpleHTTPRequestHandler.copyfile#s€õ Ô˜6 :Ñ.Ô.Ð.Ð.Ð.rcóÊ—tj|¦«\}}||jvr |j|S| ¦«}||jvr |j|S|jdS)a»Guess the type of a file. Argument is a PATH (a filename). Return value is a string of the form type/subtype, usable for a MIME Content-type header. The default implementation looks the file's extension up in the table self.extensions_map, using application/octet-stream as a default; however it would be permissible (if slow) to look inside the data to make a better guess. r8)r-ÚsplitextÚextensions_maprS)r#rKÚbaseÚexts rrz#SimpleHTTPRequestHandler.guess_type3sk€õÔ& tÑ,Ô,‰ ˆˆcØ �$Ô%Ð %Ð %ØÔ& sÔ+Ð +Ø�iŠi‰kŒkˆØ �$Ô%Ð %Ð %ØÔ& sÔ+Ð +àÔ& rÔ*Ð *rzapplication/octet-streamz text/plain)r8ú.pyz.cz.hN)r&r'r(rêrërªrörøròrrÿrórÚ mimetypesÚinitedÚinitÚ types_mapÚcopyr>Úupdater*rrrðrð”sô€€€€€ð ð ð# [Ñ0€Nððððððð 'ð'ð'ðR2ð2ð2ðhððð,/ð/ð/ð +ð+ð+ð0 Ô ðØˆ ŒÑÔÐØÔ(×-Ò-Ñ/Ô/€NØ×ÒØ &ØØØð  ð ñ ô ð ð ð rrðcóœ—| d¦«}g}|dd…D]:}|dkr| ¦«Œ|r|dkr| |¦«Œ;|r<| ¦«}|r%|dkr| ¦«d}n |dkrd}nd}dd |¦«z|f}d |¦«}|S)a` Given a URL path, remove extra '/'s and '.' path elements and collapse any '..' references and returns a colllapsed path. Implements something akin to RFC-2396 5.2 step 6 to parse relative paths. The utility of this function is limited to is_cgi method and helps preventing some security attacks. Returns: A tuple of (head, tail) where tail is everything after the final / and head is everything before it. Head will always start with a '/' and, if it contains anything else, never have a trailing '/'. Raises: IndexError if too many '..' occur within the path. r2Néÿÿÿÿz..r3r8)rDÚpopr’r™)rKÚ path_partsÚ head_partsÚpartÚ tail_partÚ splitpathÚcollapsed_paths rÚ_url_collapse_pathrQXsù€ð$—’˜C‘”€JØ€Jؘ3˜B˜3”ð&ð&ˆØ �4Š<ˆ<Ø �NŠNÑ Ô Ð Ð Ø ð &�d˜c’k�kØ × Ò ˜tÑ %Ô %Ð %øØð Ø—N’NÑ$Ô$ˆ Ø ð Ø˜DÒ Ð Ø—’Ñ Ô Ð Ø� � ؘcÒ!Ð!Ø� øàˆ à�s—x’x  Ñ+Ô+Ñ+¨YÐ7€IØ—X’X˜iÑ(Ô(€Nà Ðrcó—trtS ddl}n#t$rYdSwxYw | d¦«dan>#t$r1dt d„| ¦«D¦«¦«zaYnwxYwtS)z$Internal routine to get nobody's uidrNrIÚnobodyrrc3ó&K—|] }|dV—Œ dS)rNr*)Ú.0r¿s rú znobody_uid..‘s&èè€Ð6Ð6 !˜˜1œÐ6Ð6Ð6Ð6Ð6Ð6r)rSÚpwdÚ ImportErrorÚgetpwnamr|ÚmaxÚgetpwall)rWs rÚ nobody_uidr\…s­€õð݈ ðØˆ ˆ ˆ ˆ øÝ ððð؈rˆrðøøøð7Ø—’˜hÑ'Ô'¨Ô*ˆˆøÝ ð7ð7ð7Ø•SÐ6Ð6 s§|¢|¡~¤~Ð6Ñ6Ô6Ñ6Ô6Ñ6ˆˆˆð7øøøå €Ms�• #¢#§AÁ8A>Á=A>có@—tj|tj¦«S)zTest for executable file.)rÚaccessÚX_OK)rKs rÚ executabler`•s€å Œ9�T�2œ7Ñ #Ô #Ð#rcóZ—eZdZdZeed¦«ZdZd„Zd„Z d„Z ddgZ d „Z d „Z d „Zd S) ÚCGIHTTPRequestHandlerz­Complete HTTP server with GET, HEAD and POST commands. GET and HEAD also support running CGI scripts. The POST command is *only* implemented for CGI scripts. Úforkrcó†—| ¦«r| ¦«dS| dd¦«dS)zRServe a POST request. This is only implemented for CGI scripts. rdzCan only POST to CGI scriptsN)Úis_cgiÚrun_cgirFr`s rÚdo_POSTzCGIHTTPRequestHandler.do_POST«sA€ð �;Š;‰=Œ=ð AØ �LŠL‰NŒNˆNˆNˆNà �OŠO˜CÐ!?Ñ @Ô @Ð @Ð @Ð @rcó†—| ¦«r| ¦«St |¦«S)z-Version of send_head that support CGI scripts)rerfrðròr`s rròzCGIHTTPRequestHandler.send_head·s4€à �;Š;‰=Œ=ð <Ø—<’<‘>”>Ð !å+×5Ò5°dÑ;Ô;Ð ;rcó°—t|j¦«}| dd¦«}|d|…||dzd…}}||jvr ||f|_dSdS)a3Test whether self.path corresponds to a CGI script. Returns True and updates the cgi_info attribute to the tuple (dir, rest) if self.path requires running a CGI script. Returns False otherwise. If any exception is raised, the caller should assume that self.path was rejected as invalid and act accordingly. The default implementation tests whether the normalized url path begins with one of the strings in self.cgi_directories (and the next character is a '/' or the end of the string). r2rNTF)rQrKÚfindÚcgi_directoriesÚcgi_info)r#rPÚdir_sepr6Útails rrezCGIHTTPRequestHandler.is_cgi¾sj€õ,¨D¬IÑ6Ô6ˆØ ×%Ò% c¨1Ñ-Ô-ˆØ# H W HÔ-¨~¸gÀa¹i¸j¸jÔ/IˆdˆØ �4Ô'Ð 'Ð 'Ø  $˜JˆDŒMØ�4؈urz/cgi-binz/htbincó —t|¦«S)z1Test whether argument path is an executable file.)r`)r#rKs rÚ is_executablez#CGIHTTPRequestHandler.is_executableØs€å˜$ÑÔÐrcór—tj |¦«\}}| ¦«dvS)z.Test whether argument path is a Python script.)rAz.pyw)rrKr=rS)r#rKr6rns rÚ is_pythonzCGIHTTPRequestHandler.is_pythonÜs.€å”W×%Ò% dÑ+Ô+‰ ˆˆdØ�zŠz‰|Œ|˜Ð.Ð.rcó—|j}|j\}}| dt|¦«dz¦«}|dkr}|d|…}||dzd…}| |¦«}t j |¦«r+||}}| dt|¦«dz¦«}nn|dk°}| d¦«}|dkr|d|…||dzd…}}nd}| d¦«}|dkr|d|…||d…}} n|d}} |dz| z} | | ¦«} t j | ¦«s|  dd| z¦«dSt j  | ¦«s|  d d | z¦«dS|  | ¦«} |j s| s0|  | ¦«s|  d d | z¦«dStjt j¦«} | ¦«| d <|jj| d <d| d<|j| d<t+|jj¦«| d<|j| d<t1j|¦«}|| d<| |¦«| d<| | d<|r|| d<|jd| d<|j d¦«}|�r| ¦«}t|¦«dkrõddl}ddl}|d| d<|d  ¦«dkrÄ |d !d¦«}tDj#r)| $|¦« %d¦«}n(| &|¦« %d¦«}| d¦«}t|¦«dkr |d| d<n#|j'tPf$rYnwxYw|j d¦«€|j )¦«| d <n|jd| d <|j d!¦«}|r|| d"<|j d#¦«}|r|| d$<g}|j *d%¦«D]V}|dd…d&vr(| +| ,¦«¦«Œ6||d'd… d(¦«z}ŒWd( -|¦«| d)<|j d*¦«}|r|| d+<t]d|j /d,g¦«¦«}d- -|¦«}|r|| d.<d/D]}|  0|d¦«Œ| 1d0d1¦«| 2¦«| 3d2d3¦«}|j �rÌ| g}d4|vr| +|¦«ti¦«}|j5 6¦«t j7¦«}|dkr“t j8|d¦«\}}tsj9|j:gggd¦«dr>|j: ;d¦«sn#tsj9|j:gggd¦«d°>|r| <d5|¦«dS t j=|¦«n#t j>$rYnwxYwt j?|j: @¦«d¦«t j?|j5 @¦«d¦«t jA| || ¦«dS#|j B|jC|j¦«t jDd6¦«YdSxYwddlE}| g} |  | ¦«rOtŒjG}!|!  ¦« Hd7¦«r|!dd8…|!d9d…z}!|!d:g| z} d4|vr|  +|¦«| Id;| J| ¦«¦« t—|¦«}"n#t˜tšf$rd}"YnwxYw| N| |jO|jO|jO| ¬<¦«}#|j  ¦«d=kr!|"dkr|j: ;|"¦«}$nd}$tsj9|j:jPgggd¦«drH|j:jP Qd¦«sn(tsj9|j:jPgggd¦«d°H|# R|$¦«\}%}&|j5 S|%¦«|&r| <d>|&¦«|#jT U¦«|#jV U¦«|#jW}'|'r| <d5|'¦«dS| Id?¦«dS)@zExecute a CGI script.r2rrNr+r8ræzNo such CGI script (%r)räz#CGI script is not a plain file (%r)z!CGI script is not executable (%r)ÚSERVER_SOFTWAREÚ SERVER_NAMEzCGI/1.1ÚGATEWAY_INTERFACEÚSERVER_PROTOCOLÚ SERVER_PORTÚREQUEST_METHODÚ PATH_INFOÚPATH_TRANSLATEDÚ SCRIPT_NAMEÚ QUERY_STRINGÚ REMOTE_ADDRÚ authorizationrÚ AUTH_TYPEÚbasicÚasciiú:Ú REMOTE_USERz content-typeÚ CONTENT_TYPEzcontent-lengthÚCONTENT_LENGTHÚrefererÚ HTTP_REFERERÚacceptz éú,Ú HTTP_ACCEPTz user-agentÚHTTP_USER_AGENTÚcookiez, Ú HTTP_COOKIE)r}Ú REMOTE_HOSTr†r�r�rˆrxzScript output followsú+r©ú=zCGI script exit status %#xézw.exeéûÿÿÿéüÿÿÿz-uz command: %s)ÚstdinÚstdoutr¥ÚenvÚpostz%szCGI script exited OK)XrKrlrjrErÿrrÚrfindrrFÚisfilerrÚ have_forkrprFÚdeepcopyÚenvironr‹Úserverr!rJr@r"r<rrrÔrPrRrDÚbase64ÚbinasciirSrƒrÚPY3Ú decodebytesÚdecodeÚ decodestringÚErrorÚ UnicodeErrorÚget_content_typeÚgetallmatchingheadersr’Ústripr™r/Úget_allÚ setdefaultr~r_rr\rhrircÚwaitpidÚselectrNÚreadrkÚsetuidrÚdup2r ÚexecveÚ handle_errorÚrequestÚ_exitÚ subprocessr¤r`rrœÚ list2cmdlinerHÚ TypeErrorrGÚPopenÚPIPEÚ_sockÚrecvÚ communicater‚r¥r9r—Ú returncode)(r#rKÚdirÚrestÚiÚnextdirÚnextrestÚ scriptdirÚqueryÚscriptÚ scriptnameÚ scriptfileÚispyr˜Úuqrestrr r¡Úlengthr‡r‰ÚlineÚuaÚcoÚ cookie_strÚkÚ decoded_queryr¡rSÚpidÚstsr¶ÚcmdlineÚinterpÚnbytesÚpÚdatar—r¥Ústatuss( rrfzCGIHTTPRequestHandler.run_cgiás� €àŒyˆØ”M‰ ˆˆTà �IŠI�c�3˜s™8œ8 a™<Ñ (Ô (ˆØ�1Šfˆfؘ2˜A˜2”hˆGؘA˜a™C˜D˜D”zˆHà×+Ò+¨GÑ4Ô4ˆIÝŒw�}Š}˜YÑ'Ô'ð Ø# X�T�Ø—I’I˜c¥3 s¡8¤8¨a¡<Ñ0Ô0��àð�1Šfˆfð �JŠJ�s‰OŒOˆØ �Š6ˆ6ؘr ˜rœ( D¨¨1©¨¨¤J�%ˆDˆDàˆEð �IŠI�c‰NŒNˆØ �Š6ˆ6Ø   œ8 T¨!¨"¨"¤X�DˆFˆFà �DˆFà˜3‘Y Ñ'ˆ Ø×(Ò(¨Ñ4Ô4ˆ ÝŒw�~Š~˜jÑ)Ô)ð Ø �OŠO˜CÐ!:¸ZÑ!GÑ HÔ HÐ HØ ˆFÝŒw�~Š~˜jÑ)Ô)ð Ø �OŠO˜CÐ!FØ&ñ"'ñ (ô (ð (à ˆFØ�~Š~˜jÑ)Ô)ˆØ Œ>ð  ð Ø×%Ò% jÑ1Ô1ð Ø—’ Ð%HØ *ñ&+ñ,ô,ð,à�õŒm�BœJÑ'Ô'ˆØ!%×!4Ò!4Ñ!6Ô!6ˆÐ ÑØ!œ[Ô4ˆˆMÑØ#,ˆÐ Ñ Ø!%Ô!6ˆÐ ÑÝ  ¤Ô!8Ñ9Ô9ˆˆMÑØ $¤ ˆÐ ÑÝÔ% dÑ+Ô+ˆØ!ˆˆKÑØ!%×!4Ò!4°VÑ!<Ô!<ˆÐ ÑØ'ˆˆMÑØ ð (Ø"'ˆC�Ñ Ø!Ô0°Ô3ˆˆMÑØœ ×(Ò(¨Ñ9Ô9ˆ Ø ñ BØ)×/Ò/Ñ1Ô1ˆMÝ�=Ñ!Ô! QÒ&Ð&Ø'Ð'Ð'Ð'Ð'Ð'Ð'Ð'Ø#0°Ô#3��KÑ Ø  Ô#×)Ò)Ñ+Ô+¨wÒ6Ð6ðBØ(5°aÔ(8×(?Ò(?ÀÑ(HÔ(H˜ Ý œ9ð<à,2×,>Ò,>¸}Ñ,MÔ,Mß,2ªF°7©O¬Oð*˜Mð-3×,?Ò,?À Ñ,NÔ,Nß,2ªF°7©O¬Oð*ð )6×(;Ò(;¸CÑ(@Ô(@˜ ݘ}Ñ-Ô-°Ò2Ð2Ø1>¸qÔ1A˜C  Ñ.øøð %œN­LÐ9ðððØ˜ðøøøð Œ<× Ò ˜NÑ +Ô +Ð 3Ø"&¤,×"?Ò"?Ñ"AÔ"AˆC�Ñ Ð à"&¤,¨~Ô">ˆC�Ñ Ø”×!Ò!Ð"2Ñ3Ô3ˆØ ð +Ø$*ˆCÐ Ñ !Ø”,×"Ò" 9Ñ-Ô-ˆØ ð *Ø")ˆC�Ñ ØˆØ”L×6Ò6°xÑ@Ô@ð 6ð 6ˆDØ�B�Q�BŒx˜9Ð$Ð$Ø— ’ ˜dŸjšj™lœlÑ+Ô+Ð+Ð+à $ q r r¤(§.¢.°Ñ"5Ô"5Ñ5��Ø ŸXšX fÑ-Ô-ˆˆMÑØ Œ\× Ò ˜lÑ +Ô +ˆØ ð (Ø%'ˆCÐ!Ñ "Ý �D˜$œ,×.Ò.¨x¸Ñ<Ô<Ñ =Ô =ˆØ—Y’Y˜r‘]”]ˆ Ø ð ,Ø!+ˆC� Ñ ðDð "ð "ˆAà �NŠN˜1˜bÑ !Ô !Ð !Ð !à ×Ò˜3Ð 7Ñ8Ô8Ð8Ø ×ÒÑÔÐàŸ š  c¨3Ñ/Ô/ˆ à Œ>ñH 9à�8ˆDؘ-Ð'Ð'Ø— ’ ˜MÑ*Ô*Ð*Ý‘\”\ˆFØ ŒJ× Ò Ñ Ô Ð Ý”'‘)”)ˆCØ�aŠxˆxåœ: c¨1Ñ-Ô-‘��Så”m T¤Z L°"°b¸!Ñ<Ô<¸QÔ?ðØœ:Ÿ?š?¨1Ñ-Ô-ðØõ”m T¤Z L°"°b¸!Ñ<Ô<¸QÔ?ðððFØ—N’NÐ#?ÀÑEÔEÐEØ�ð ðÝ”I˜fÑ%Ô%Ð%Ð%øÝ”xðððØ�Dðøøøå”˜œ ×)Ò)Ñ+Ô+¨QÑ/Ô/Ð/Ý”˜œ ×)Ò)Ñ+Ô+¨QÑ/Ô/Ð/Ý” ˜* d¨CÑ0Ô0Ð0Ð0Ð0øð Ø” ×(Ò(¨¬°tÔ7JÑKÔKÐKÝ”˜‘ ” � � � � øøøð Ð Ð Ð Ø!�lˆGØ�~Š~˜jÑ)Ô)ð 3Ýœ�Ø—<’<‘>”>×*Ò*¨7Ñ3Ô3ð7à# C R Cœ[¨6°"°#°#¬;Ñ6�FØ! 4˜.¨7Ñ2�ؘ%ÐÐØ—’˜uÑ%Ô%Ð%Ø × Ò ˜]¨J×,CÒ,CÀGÑ,LÔ,LÑ MÔ MÐ Mð ݘV™œ��øÝ�zÐ*ð ð ð Ø���ð øøøà× Ò  Ø'1¤Ø(2¬Ø(2¬Ø'*ð !ñ#ô#ˆAð Œ|×!Ò!Ñ#Ô# vÒ-Ð-°&¸1²*°*Ø”z—’ vÑ.Ô.��à�å”- ¤Ô!1Ð 2°B¸¸AÑ>Ô>¸qÔAð Ø”zÔ'×,Ò,¨QÑ/Ô/ðØõ”- ¤Ô!1Ð 2°B¸¸AÑ>Ô>¸qÔAð ðŸ]š]¨4Ñ0Ô0‰NˆF�FØ ŒJ× Ò ˜VÑ $Ô $Ð $Øð -Ø—’˜t VÑ,Ô,Ð,Ø ŒH�NŠNÑ Ô Ð Ø ŒH�NŠNÑ Ô Ð Ø”\ˆFØð 9Ø—’Ð;¸VÑDÔDÐDÐDÐDà× Ò Ð!7Ñ8Ô8Ð8Ð8Ð8sPÌ?A8O+Ï+O?Ï>O?Û[%Û$]*Û%[7Û4]*Û6[7Û7A1]*Ý*;^(áa)á)a?á>a?N)r&r'r(rêrfrrœÚrbufsizergròrerkrprrrfr*rrrbrbšs¦€€€€€ððð�˜˜FÑ#Ô#€Ið€Hð Að Að Að<ð<ð<ðððð0" 8Ð,€Oð ð ð ð/ð/ð/ð D9ðD9ðD9ðD9ðD9rrbrÕi@có^—d|f}||_|||¦«}|j ¦«}td|dd|dd¦« | ¦«dS#t $r;td¦«| ¦«tjd¦«YdSwxYw) zTest the HTTP request handler class. This runs an HTTP server on port 8000 (or the first command line argument). r8zServing HTTP onrr%rz...z& Keyboard interrupt received, exiting.N) rJrrÚprintÚ serve_foreverÚKeyboardInterruptÚ server_closer¤Úexit)Ú HandlerClassÚ ServerClassÚprotocolr%Úserver_addressÚhttpdÚsas rÚtestrç¨sÄ€ð˜$�Z€Nà$,€LÔ!Ø ˆK˜¨ Ñ 5Ô 5€Eà Œ× !Ò !Ñ #Ô #€BÝ Ð ˜R œU F¨B¨q¬E°5Ñ9Ô9Ð9ðØ ×ÒÑÔÐÐÐøÝ ðððÝ Ð7Ñ8Ô8Ð8Ø ×ÒÑÔÐÝ Œ�‰ Œ ˆ ˆ ˆ ˆ ðøøøsÁA'Á'AB,Â+B,Ú__main__z--cgiÚ store_truezRun as CGI Server)ÚactionÚhelpr%Ústorer+z&Specify alternate port [default: 8000])rêÚdefaultÚtypeÚnargsrë)rár%)6rêÚ __future__rrrrÚfuturerÚfuture.builtinsrëÚ__all__Úfuture.backportsr Úfuture.backports.httpr rLÚfuture.backports.urllibrrrrrBrr-r®r8rr¤r­rFÚargparserìrírrr ÚStreamRequestHandlerr rðrQrSr\r`rbrçr&ÚArgumentParserÚparserÚ add_argumentrHÚ parse_argsr¡Úcgir%r*rrúrþsBðð!ð!ðF:ð:ð:ð:ð:ð:ð:ð:ð:ð:ð:ð:àÐÐÐÐÐØÐÐÐðf€ à Ð1Ð 2€à!Ð!Ð!Ð!Ð!Ð!Ø7Ð7Ð7Ð7Ð7Ð7Ø9Ð9Ð9Ð9Ð9Ð9Ø)Ð)Ð)Ð)Ð)Ð)à € € € ØÐÐÐØ € € € ØÐÐÐØ € € € Ø € € € Ø € € € Ø € € € Ø € € € Ø € € € Ø€€€ðÐð"7ÐðPðPðPð  ð  ð  ð  ð  �Ô'ñ  ô  ð  ð~ ð~ ð~ ð~ ð~ ˜\Ô>ñ~ ô~ ð~ ðB ð ð ð ð Ð5ñ ô ð ðH'ð'ð'ðV €ð ð ð ð $ð$ð$ð K9ðK9ðK9ðK9ðK9Ð4ñK9ôK9ðK9ð\/Ø!¨J¸Tððððð, ˆzÒÐØ $ˆXÔ $Ñ &Ô &€FØ ×Ò˜¨ Ø/ðñ1ô1ð1à ×Ò˜ wØ $¨3Ø!ØEðñGôGðGð × Ò Ñ Ô €DØ „xðDØ ˆÐ/°d´iÐ@Ñ@Ô@Ð@Ð@Ð@à ˆÐ2¸¼ÐCÑCÔCÐCÐCÐCðÐr