PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  oY @sdZddlmZmZddlmZddlZddlZddl m Z ddl m Z dZ dd d d gZd e Ze d ejjdZedeZGddde ZGdddeZGdd d eZdd Zeedd ZedkreddeZejjZededdeddddlZej dej!ej"dS)a!BaseHTTPServer that implements the Python WSGI protocol (PEP 3333) This is both an example of how WSGI can be implemented, and a basis for running simple web applications on a local machine, such as might be done when testing or debugging an application. It has not been reviewed for security issues, however, and we strongly recommend that you use a "real" web server for production use. For example usage, see the 'if __name__=="__main__"' block at the end of the module. See also the BaseHTTPServer module docs for other API information. )BaseHTTPRequestHandler HTTPServer)BufferedWriterN) SimpleHandler)python_implementationz0.2 WSGIServerWSGIRequestHandlerdemo_app make_serverz WSGIServer// c@s"eZdZeZddZdS) ServerHandlerc CsBz-|jj|jjddd|jWdtj|XdS)Nr r)request_handlerZ log_requeststatussplitZ bytes_sentrclose)selfr,/opt/python35/lib/python3.5/simple_server.pyr!s $zServerHandler.closeN)__name__ __module__ __qualname__software_versionZserver_softwarerrrrrr s r c@sLeZdZdZdZddZddZddZd d ZdS) rz7BaseHTTPServer that implements the Python WSGI protocolNcCstj||jdS)z.Override server_bind to store the server name.N)r server_bind setup_environ)rrrrr1s zWSGIServer.server_bindcCsYi}|_|j|deZdZdeZddZddZddZdS) rz WSGIServer/cCs|jjj}|j|d<|j|d<|j|d s0   H