bgdZddlmZmZmZmZddlmZmZddl m Z m Z m Z m Z mZddlmZddlmcmcmZddlmZddlZddlZddlZddlZddlZddlZ ddlZn #e$rdZYnwxYwd)d Zd Z Gd d e!Z"Gd deZ#Gddej$e"Z%Gdde%Z&Gdde"Z'Gddej(Z)Gdde!Z*Gdde#Z+Gdde%e*Z,Gdde'e*Z-e.dkrddl/Z/Gd d!Z0e%d"Ze1e2e1d#d$e3e0d%e4e5d&e5d' e6dS#e7$r3e5d(e8ej9dYdSwxYwdS)*aK Ported using Python-Future from the Python 3.3 standard library. XML-RPC Servers. This module can be used to create simple XML-RPC servers by creating a server and either installing functions, a class instance, or by extending the SimpleXMLRPCServer class. It can also be used to handle XML-RPC requests in a CGI environment using CGIXMLRPCRequestHandler. The Doc* classes can be used to create XML-RPC servers that serve pydoc-style documentation in response to HTTP GET requests. This documentation is dynamically generated based on the functions and methods registered with the server. A list of possible usage patterns follows: 1. Install functions: server = SimpleXMLRPCServer(("localhost", 8000)) server.register_function(pow) server.register_function(lambda x,y: x+y, 'add') server.serve_forever() 2. Install an instance: class MyFuncs: def __init__(self): # make all of the sys functions available through sys.func_name import sys self.sys = sys def _listMethods(self): # implement this method so that system.listMethods # knows to advertise the sys methods return list_public_methods(self) + \ ['sys.' + method for method in list_public_methods(self.sys)] def pow(self, x, y): return pow(x, y) def add(self, x, y) : return x + y server = SimpleXMLRPCServer(("localhost", 8000)) server.register_introspection_functions() server.register_instance(MyFuncs()) server.serve_forever() 3. Install an instance with custom dispatch method: class Math: def _listMethods(self): # this method must be present for system.listMethods # to work return ['add', 'pow'] def _methodHelp(self, method): # this method must be present for system.methodHelp # to work if method == 'add': return "add(2,3) => 5" elif method == 'pow': return "pow(x, y[, z]) => number" else: # By convention, return empty # string if no help is available return "" def _dispatch(self, method, params): if method == 'pow': return pow(*params) elif method == 'add': return params[0] + params[1] else: raise ValueError('bad method') server = SimpleXMLRPCServer(("localhost", 8000)) server.register_introspection_functions() server.register_instance(Math()) server.serve_forever() 4. Subclass SimpleXMLRPCServer: class MathServer(SimpleXMLRPCServer): def _dispatch(self, method, params): try: # We are forcing the 'export_' prefix on methods that are # callable through XML-RPC to prevent potential security # problems func = getattr(self, 'export_' + method) except AttributeError: raise Exception('method "%s" is not supported' % method) else: return func(*params) def export_add(self, x, y): return x + y server = MathServer(("localhost", 8000)) server.serve_forever() 5. CGI script: server = CGIXMLRPCRequestHandler() server.register_function(pow) server.handle_request() )absolute_importdivisionprint_functionunicode_literals)intstr)Faultdumpsloads gzip_encode gzip_decode)BaseHTTPRequestHandlerN) socketserverTc|r|d}n|g}|D]9}|drtd|zt||}:|S)aGresolve_dotted_attribute(a, 'b.c.d') => a.b.c.d Resolves a dotted attribute name to an object. Raises an AttributeError if any attribute in the chain starts with a '_'. If the optional allow_dotted_names argument is false, dots are not supported and this function operates similar to getattr(obj, attr). ._z(attempt to access private attribute "%s")split startswithAttributeErrorgetattr)objattrallow_dotted_namesattrsis o/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/future/backports/xmlrpc/server.pyresolve_dotted_attributersw 3 !! <<   ! :Q> #a..CC Jc:fdtDS)zkReturns a list of attribute strings, found in the specified object, which represent callable attributescxg|]6}|dtt|4|7S)r)rcallabler).0memberrs r z'list_public_methods..sU 4 4 4v((-- 4WS&1122 4F 4 4 4r)dir)rs`rlist_public_methodsr&s3 4 4 4 4S 4 4 44rc`eZdZdZ ddZddZddZdZdZdd Z d Z d Z d Z d Z dZdS)SimpleXMLRPCDispatchera&Mix-in class that dispatches XML-RPC requests. This class is used to register XML-RPC method handlers and then to dispatch them. This class doesn't need to be instanced directly when used by SimpleXMLRPCServer but it can be instanced when used by the MultiPathXMLRPCServer FNcPi|_d|_||_|pd|_||_dSNutf-8)funcsinstance allow_noneencodinguse_builtin_typesselfr.r/r0s r__init__zSimpleXMLRPCDispatcher.__init__s1  $ +G !2rc"||_||_dS)aRegisters an instance to respond to XML-RPC requests. Only one instance can be installed at a time. If the registered instance has a _dispatch method then that method will be called with the name of the XML-RPC method and its parameters as a tuple e.g. instance._dispatch('add',(2,3)) If the registered instance does not have a _dispatch method then the instance will be searched to find a matching method and, if found, will be called. Methods beginning with an '_' are considered private and will not be called by SimpleXMLRPCServer. If a registered function matches a XML-RPC request, then it will be called instead of the registered instance. If the optional allow_dotted_names argument is true and the instance does not have a _dispatch method, method names containing dots are supported and resolved, as long as none of the name segments start with an '_'. *** SECURITY WARNING: *** Enabling the allow_dotted_names options allows intruders to access your module's global variables and may allow intruders to execute arbitrary code on your machine. Only use this option on a secure, closed network. N)r-r)r2r-rs rregister_instancez(SimpleXMLRPCDispatcher.register_instancesB! "4rc,||j}||j|<dS)zRegisters a function to respond to XML-RPC requests. The optional name argument can be used to set a Unicode name for the function. N)__name__r,)r2functionnames rregister_functionz(SimpleXMLRPCDispatcher.register_functions# <$D# 4rc`|j|j|j|jddS)zRegisters the XML-RPC introspection methods in the system namespace. see http://xmlrpc.usefulinc.com/doc/reserved.html )zsystem.listMethodszsystem.methodSignaturezsystem.methodHelpN)r,updatesystem_listMethodssystem_methodSignaturesystem_methodHelpr2s r register_introspection_functionsz7SimpleXMLRPCDispatcher.register_introspection_functionssJ $2I151L,0,BDD E E E E ErcH|jd|jidS)zRegisters the XML-RPC multicall method in the system namespace. see http://www.xmlrpc.com/discuss/msgReader$1208zsystem.multicallN)r,r<system_multicallr@s rregister_multicall_functionsz3SimpleXMLRPCDispatcher.register_multicall_functionss) -0EFGGGGGrc  t||j\}}| |||}n|||}|f}t|d|j|j}n{#t $r&}t||j|j}Yd}~nPd}~wtj\}} } tt d|d| |j|j}YnxYw| |jS)aDispatches an XML-RPC method from marshalled (XML) data. XML-RPC methods are dispatched from the marshalled (XML) data using the _dispatch method and the result is returned as marshalled data. For backwards compatibility, a dispatch function can be provided as an argument (see comment in SimpleXMLRPCRequestHandler.do_POST) but overriding the existing method through subclassing is the preferred means of changing method dispatch behavior. )r0N)methodresponser.r/)r.r/:r/r.) r r0 _dispatchr r.r/r sysexc_infoencode) r2datadispatch_methodpathparamsmethodresponsefaultexc_type exc_valueexc_tbs r_marshaled_dispatchz*SimpleXMLRPCDispatcher._marshaled_dispatchs$ "44;QRRRNFF**?66::>>&&99 {HXa(,$-QQQHH 5 5 5Ut&*m555HHHHHH *-,.. 'HiaHHHii8994?HHH t}---sAA!! C+B  A Ccjt|j}|jxt |jdr*|t|jz}n9t |jds$|tt |jz}t|S)zwsystem.listMethods() => ['add', 'subtract', 'multiple'] Returns a list of the methods supported by the server.N _listMethodsrJ)setr,keysr-hasattrrZr&sorted)r2methodss rr=z)SimpleXMLRPCDispatcher.system_listMethodss djoo''(( = $t}n55 C3t}99;;<<<T]K88 C324=AABBBgrcdS)a#system.methodSignature('add') => [double, int, int] Returns a list describing the signature of the method. In the above example, the add method takes two integers as arguments and returns a double result. This server does NOT support system.methodSignature.zsignatures not supported)r2 method_names rr>z-SimpleXMLRPCDispatcher.system_methodSignature*s *)rcTd}||jvr|j|}nx|jqt|jdr|j|St|jds- t |j||j}n#t $rYnwxYw|dStj|S)zsystem.methodHelp('add') => "Adds two integers together" Returns a string containing documentation for the specified method.N _methodHelprJ) r,r-r]rdrrrpydocgetdoc)r2rbrRs rr?z(SimpleXMLRPCDispatcher.system_methodHelp7s  $* $ $Z ,FF ] &t}m44 }00===T]K88 5 $ + $ 7""FF &D >2<'' 's&B BBchg}|D]}|d}|d} ||||g>#t$r,}||j|jdYd}~od}~wt j\}}} |d|d|dYxYw|S)zsystem.multicall([{'methodName': 'add', 'params': [2, 2]}, ...]) => [[4], ...] Allows the caller to package multiple XML-RPC calls into a single request. See http://www.xmlrpc.com/discuss/msgReader$1208 methodNamerQ) faultCode faultStringNrFrH)appendrJr rjrkrKrL) r2 call_listresultscallrbrQrTrUrVrWs rrCz'SimpleXMLRPCDispatcher.system_multicallVs  D|,K(^F {F C CDEEEE   #(?%*%688 .1lnn+)V#$08))%DFFs*A B/ "A449B/cBd} |j|}nv#t$ri|j_t|jdr|j||cYS t |j||j}n#t$rYnwxYwYnwxYw|||Std|z)aDispatches the XML-RPC method. XML-RPC calls are forwarded to a registered function that matches the called XML-RPC method name. If no such function exists then the call is forwarded to the registered instance, if available. If the registered instance has a _dispatch method then that method will be called with the name of the XML-RPC method and its parameters as a tuple e.g. instance._dispatch('add',(2,3)) If the registered instance does not have a _dispatch method then the instance will be searched to find a matching method and, if found, will be called. Methods beginning with an '_' are considered private and will not be called. NrJzmethod "%s" is not supported) r,KeyErrorr-r]rJrrr Exception)r2rRrQfuncs rrJz SimpleXMLRPCDispatcher._dispatchvs* :f%DD   }(4=+66 =2266BBBBB7 M" 3   *   4= :VCDD Ds4 ABA21B2 A?<B>A??BBFNF)FNNN)r7 __module__ __qualname____doc__r3r5r:rArDrXr=r>r?rCrJrarrr(r(s37#(3333"5"5"5"5H $ $ $ $ E E EHHH#.#.#.#.J$ * * *(((>@,E,E,E,E,Err(ceZdZdZdZdZdZdZej dej ej zZ dZ dZd Zd Zd Zdd ZdS)SimpleXMLRPCRequestHandlerzSimple XML-RPC request handler class. Handles all HTTP POST requests and attempts to decode them as XML-RPC requests. )/z/RPC2ixTz \s* ([^\s;]+) \s* #content-coding (;\s* q \s*=\s* ([0-9\.]+))? #q c(i}|jdd}|dD]^}|j|}|r@|d}|rt |nd}|||d<_|S)NzAccept-Encodingre,g?rF)headersgetr aepatternmatchgroupfloat)r2raeervs raccept_encodingsz+SimpleXMLRPCRequestHandler.accept_encodingss  \  / 4 4# & &AN((++E &KKNN !*E!HHHs$%%++a..!rc0|jr|j|jvSdS)NT) rpc_pathsrPr@s ris_rpc_path_validz,SimpleXMLRPCRequestHandler.is_rpc_path_valids" > 9. .4rc|s|dS d}t|jd}g}|r\t ||}|j|}|sn/|||t|dz}|\d |}| |}|dS|j |t|dd|j}|d|dd |jyt||jkra|d d }|r7 t)|}|d d n#t*$rYnwxYw|d t-t|||j|dS#t4$r} |dt7|j dr||j jrp|dt-| t;j} t-| ddd} |d| |d d|Yd} ~ dSd} ~ wwxYw)zHandles the HTTP POST request. Attempts to interpret all HTTP POST requests as XML-RPC calls, which are forwarded to the server's _dispatch method for handling. Nizcontent-lengthr}rrJ Content-typeztext/xmlgziprzContent-EncodingContent-lengthi_send_traceback_headerz X-exceptionASCIIbackslashreplacez X-traceback0) r report_404rrminrfilereadrllenjoindecode_request_contentserverrXrrP send_response send_headerencode_thresholdrrr NotImplementedErrorr end_headerswfilewriterrr]r traceback format_excrM) r2max_chunk_sizesize_remainingL chunk_sizechunkrNrSqrtraces rdo_POSTz"SimpleXMLRPCRequestHandler.do_POSTs%%''  OO    F9 ' *N .>!?@@NA  - @@   33#ae**, ! -88A;;D..t44D|{66'$ T::DIH$   s # # #   ^Z 8 8 8$0x==4#888--//33FA>>A!!'28'<'t $r|ddYnwxYw|dd|z|dd |dS) Nzcontent-encodingidentityrizencoding %r not supportedzerror decoding gzip contentrr) rrlowerr rr ValueErrorrr)r2rNr/s rrz1SimpleXMLRPCRequestHandler.decode_request_contents<##$6 CCIIKK z ! !K v   G"4(((& P P P""3(Ch(NOOOOO G G G""3(EFFFFF G   s$?($J K K K )3/// sA #B1BBc|dd}|dd|dtt|||j|dS)Nis No such pagerz text/plainr)rrrrrrrr2rSs rrz%SimpleXMLRPCRequestHandler.report_404's 3" 666 )3s8}}+=+=>>>  """""r-cN|jjrtj|||dSdS)z$Selectively log an accepted request.N)r logRequestsr log_request)r2codesizes rrz&SimpleXMLRPCRequestHandler.log_request0s9 ; " A " .tT4 @ @ @ @ @ A ArN)rr)r7rwrxryrrwbufsizedisable_nagle_algorithmrecompileVERBOSE IGNORECASErrrrrrrrarrr{r{sIH"  "$bm!;==I   E'E'E'N"###AAAAAArr{c.eZdZdZdZdZedddddfdZdS)SimpleXMLRPCServeragSimple XML-RPC server. Simple XML-RPC server that allows functions and a single instance to be installed to handle requests. The default implementation attempts to dispatch XML-RPC calls to the functions or instance installed in the server. Override the _dispatch method inherited from SimpleXMLRPCDispatcher to change this behavior. TFNc||_t||||tj||||t t t drvt j|t j}|t j z}t j|t j |dSdSdS)N FD_CLOEXEC) rr(r3r TCPServerfcntlr]filenoF_GETFDrF_SETFD) r2addrrequestHandlerrr.r/bind_and_activater0flagss rr3zSimpleXMLRPCServer.__init__Is'''j(DUVVV''dNDUVVV   !=!= K u}==E U% %E K u}e < < < < <    r)r7rwrxryallow_reuse_addressrr{r3rarrrr6sQ #,F!ed#'5======rrc:eZdZdZedddddfdZdZdZd dZdS) MultiPathXMLRPCServera\Multipath XML-RPC Server This specialization of SimpleXMLRPCServer allows the user to create multiple Dispatcher instances and assign them to different HTTP request paths. This makes it possible to run two or more 'virtual XML-RPC servers' at the same port. Make sure that the requestHandler accepts the paths in question. TFNc vt||||||||i|_||_|pd|_dSr*)rr3 dispatchersr.r/r2rrrr.r/rr0s rr3zMultiPathXMLRPCServer.__init__asQ ##D$ Z$,.?AR T T T$ +G rc||j|<|Srur)r2rP dispatchers radd_dispatcherz$MultiPathXMLRPCServer.add_dispatcherks!+rc|j|Srur)r2rPs rget_dispatcherz$MultiPathXMLRPCServer.get_dispatcheros%%rc * |j||||}nn#tjdd\}}t t d|d||j|j}||j}YnxYw|S)NrFrHrI) rrXrKrLr r r/r.rM)r2rNrOrPrSrUrVs rrXz)MultiPathXMLRPCServer._marshaled_dispatchrs 6'-AA_d,,HH 6#&,..!"4 HiaHHHii8994?DDDH t}55HHHs "%A)Brv) r7rwrxryr{r3rrrXrarrrrYsv-G!ed#'5,,,,&&&      rrc.eZdZdZddZdZdZd dZdS) CGIXMLRPCRequestHandlerz3Simple handler for XML-RPC data passed through CGI.FNc@t||||dSru)r(r3r1s rr3z CGIXMLRPCRequestHandler.__init__s#''j(DUVVVVVrcr||}tdtdt|zttjtjj|tjjdS)zHandle a single XML-RPC requestzContent-Type: text/xmlContent-Length: %dN)rXprintrrKstdoutflushbufferr)r2 request_textrSs r handle_xmlrpcz%CGIXMLRPCRequestHandler.handle_xmlrpcs++L99 &''' "S]]2333   ))) !!!!!rcd}tj|\}}tj|||dz}|d}t d||fzt dtjzt dt|zt tj tj j |tj j dS)zHandle a single HTTP GET request. Default implementation indicates an error because XML-RPC uses the POST method. r)rmessageexplainr+z Status: %d %szContent-Type: %srN) r responses http_serverDEFAULT_ERROR_MESSAGErMrDEFAULT_ERROR_CONTENT_TYPErrKrrrr)r2rrrrSs r handle_getz"CGIXMLRPCRequestHandler.handle_gets1;DA4     ??7++ ow/000  ;#IIJJJ "S]]2333   ))) !!!!!rcz|:tjdddkr|dS t tjdd}n#t t f$rd}YnwxYw|tj |}| |dS)zHandle a single XML-RPC request passed through a CGI post method. If no XML data is given then it is read from stdin. The resulting XML-RPC response is printed to stdout along with the correct HTTP headers. NREQUEST_METHODGETCONTENT_LENGTHr}) osenvironrrrr TypeErrorrKstdinrr)r2rlengths rhandle_requestz&CGIXMLRPCRequestHandler.handle_requests   JNN+T 2 2e ; ; OO      RZ^^,zz'http://www.rfc-editor.org/rfc/rfc%d.txtz(http://www.python.org/dev/peps/pep-%04d/(zself.%sNre) escaperrsearchspanrlgroupsreplacernamelinkr)r2textrr,classesr_rnherepatternrstartendallschemerfcpepselfdotr9urls rmarkupzServerHTMLDoc.markups6&4; *<== NN4..E %JE3 NN66$tEz"233 4 4 438<<>> 0Cc7D =fSkk))#x88SSSABBBB =?#c((JVVC[[[[IJJJJ =@3s88KVVC[[[[IJJJJc#a%iC''t}}T7E7KKLLLL =9D@AAAAt}}T7;;<<<D- . vvd455k**+++wwwrc6|r|jpddz|z}d} d||d||d} tj|rUtj|} tj| jdd| j| j| j | j |j } nctj |rMtj|} tj| j| j| j| j | j |j } nd } t|tr|d p| } |dpd} ntj|} | | z| o|d | zz}|| |j|||}|od |z}d |d|dS)z;Produce HTML documentation for a function or method object.rerz z rFN) annotations formatvaluez(...)rz'%sz
%s
z
z
z
)r7rinspectismethodgetfullargspec formatargspecargsvarargsvarkwdefaultsrr isfunction isinstancetuplerfrggreyr preformat)r2objectr9modr,rr_clanchornotetitlerargspec docstringdecldocs r docroutinezServerHTMLDoc.docroutines$*c1D8 KK    T!2!2!2!24  F # # )&11D+IabbMLJM $ 0 $ 0 GG  ' ' )&11D+ 4<T] , ,...GG G fe $ $ -Qi*7Gq RII V,,Iw$#A49984?,A,ABkk t~ugw@@2,s2-1TT33377rc $i}|D]\}}d|z||<||||<||}d|z}||dd}|||j|} | od| z} |d| zz}g} t |} | D]0\}}| ||||1||ddd d | z}|S) z1Produce HTML documentation for an XML-RPC server.z#-z)%sz#ffffffz#7799eez %sz

%s

)r,Methodsz#eeaa77re) itemsrheadingrr#r^rlr. bigsectionr) r2 server_namepackage_documentationr_fdictkeyvalueheadresultr-contents method_itemss r docserverzServerHTMLDoc.docservers5!--// & &JCE#J :E%LLkk+.. :[HdIy99kk/GG)mc)-#--gmmoo.. & F FJC OODOOE3eODD E E E E$// y)RWWX->->@@@ r)r7rwrxryrr.r=rarrrrsjAA"&b"b' ' ' ' R,0R+8+8+8+8Zrrc0eZdZdZdZdZdZdZdZdS)XMLRPCDocGeneratorzGenerates documentation for an XML-RPC server. This class is designed as mix-in and should not be constructed directly. c0d|_d|_d|_dS)NzXML-RPC Server DocumentationzGThis server exports the following methods through the XML-RPC protocol.)r4server_documentation server_titler@s rr3zXMLRPCDocGenerator.__init__?s'9  !;rc||_dS)z8Set the HTML title of the generated server documentationN)rB)r2rBs rset_server_titlez#XMLRPCDocGenerator.set_server_titleGs)rc||_dS)z7Set the name of the generated HTML server documentationN)r4)r2r4s rset_server_namez"XMLRPCDocGenerator.set_server_nameLs'rc||_dS)z3Set the documentation string for the entire server.N)rA)r2rAs rset_server_documentationz+XMLRPCDocGenerator.set_server_documentationQs%9!!!rci}|D]}||jvr|j|}n|jddg}t|jdr|j||d<t|jdr|j||d<t |}|dkr|}nKt|jds) t|j|}n#t$r|}YnwxYw|}n Jd|||<t}| |j |j |}| |j|S) agenerate_html_documentation() => html documentation for the server Generates HTML documentation for the server using introspection for installed functions and instances that do not implement the _dispatch method. Alternatively, instances can choose to implement the _get_method_argstring(method_name) method to provide the argument string used in the documentation and the _methodHelp(method_name) method to provide the help text used in the documentation.N_get_method_argstringrrdrFrvrJzACould not find method in self.functions and no instance installed)r=r,r-r]rJrdr!rrrr=r4rApagerB)r2r_rbrR method_info documenter documentations rgenerate_html_documentationz.XMLRPCDocGenerator.generate_html_documentationVs2244 * *Kdj((K0*#Tl 4=*ABBV%)]%H%H%U%UKN4=-88L%)]%>%>{%K%KKN#K00 ,..(FF  << )-!9$(M$/"&"&*---!,-)FF////q$*GK "__ ",, $ 0 $ 9 ' t0-@@@s C## C21C2N) r7rwrxryr3rDrFrHrOrarrr?r?8sn ;;;))) ''' 999 1A1A1A1A1Arr?ceZdZdZdZdS)DocXMLRPCRequestHandlerzXML-RPC and documentation request handler class. Handles all HTTP POST requests and attempts to decode them as XML-RPC requests. Handles all HTTP GET requests and interprets them as requests for documentation. c|s|dS|jd}|d|dd|dtt|| |j |dS)}Handles the HTTP GET request. Interpret all HTTP GET requests as requests for server documentation. Nr+rrz text/htmlr) rrrrOrMrrrrrrrrs rdo_GETzDocXMLRPCRequestHandler.do_GETs%%''  OO    F;::<<CCGLL 3 555 )3s8}}+=+=>>>  """""rN)r7rwrxryrTrarrrQrQs-#####rrQc&eZdZdZedddddfdZdS)DocXMLRPCServerzXML-RPC and HTML documentation server. Adds the ability to serve server documentation to the capabilities of SimpleXMLRPCServer. TFNc |t||||||||t|dSru)rr3r?rs rr3zDocXMLRPCServer.__init__sK ##D$ $.:K$5 7 7 7 ##D)))))r)r7rwrxryrQr3rarrrVrVsD -D!ed#'5******rrVceZdZdZdZdZdS)DocCGIXMLRPCRequestHandlerzJHandler for XML-RPC data and documentation requests passed through CGIc|d}tdtdt|zttjtjj|tjjdS)rSr+zContent-Type: text/htmlrN) rOrMrrrKrrrrrs rrz%DocCGIXMLRPCRequestHandler.handle_gets3355<tjSru)datetimenowrarrgetCurrentTimez)ExampleService.currentTime.getCurrentTimes(,,...rN)r7rwrx staticmethodrgrarr currentTimercs-  / /\ / / /rriN)r7rwrxrarirarrr^r^sK    / / / / / / / / / /rr^) localhosti@c ||zSrura)xys rrns 1radd)rz&Serving XML-RPC on localhost port 8000zKIt is advisable to run this example server within a secure, closed network.z& Keyboard interrupt received, exiting.)T):ry __future__rrrrfuture.builtinsrrfuture.backports.xmlrpc.clientr r r r r future.backports.http.serverr backportshttprrfuture.backportsrrKrrrfrrr ImportErrorrr&r$r(r{rrrrHTMLDocrr?rQrVrYr7rer^r:powr5rDr serve_foreverKeyboardInterrupt server_closeexitrarrr~shhTSRRRRRRRRRRR$$$$$$$$ YXXXXXXXXXXXXX??????222222222222)))))) LLLL EEE0444BEBEBEBEBEVBEBEBEHPAPAPAPAPA!7PAPAPAd!=!=!=!=!=//!=!=!=F&&&&&.&&&P?-?-?-?-?-4?-?-?-JpppppEMpppdOAOAOAOAOAOAOAOAb#####8###8********** *****$;$6***4 zOOO////////  3 4 4F S!!! __e444 ^^--$GGG ''))) E 2333 E WXXX  7888 +s$AA%$A% F664G.-G.