Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
§
àÀf3 ã ó< — d Z ddlmZmZ ddlZddlZddlmZ ddl m
Z
dZg d¢Zdez Z
e
¦ « d z ej ¦ « d z Ze
d
z ez Z G d„ de¦ « Z G d
„ de¦ « Z G d„ de¦ « Zd„ Zeefd„Zedk r„ edde¦ « 5 Zej ¦ « Z eded ded d¦ « ddlZ ej d¦ « e ¦ « ddd¦ « dS # 1 swxY w Y dS 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Ú
HTTPServerN)Ú
SimpleHandler)Úpython_implementationz0.2)Ú
WSGIServerÚWSGIRequestHandlerÚdemo_appÚmake_serverúWSGIServer/ú/ú c ó — e Zd ZeZd„ ZdS )Ú
ServerHandlerc óà — | j | j dd¦ « d | j ¦ « t j | ¦ « d S # t j | ¦ « w xY w)Nr
é r )Úrequest_handlerÚlog_requestÚstatusÚsplitÚ
bytes_sentr Úclose©Úselfs ú