/usr/lib/python3.10/wsgiref/__pycache__
Edit: /usr/lib/python3.10/wsgiref/__pycache__/simple_server.cpython-310.pyc (5306B)
o
9j3 @ s4 d Z ddlmZmZ ddlZddlZddlmZ ddl m
Z
dZg dZde Z
e
d ej d Ze
d
e ZG dd deZG d
d deZG dd deZdd ZeefddZedkredde'Zej Zeded ded d ddlZed e W d dS 1 sw 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)
WSGIServerWSGIRequestHandlerdemo_appmake_serverWSGIServer// c @ s e Zd ZeZdd ZdS )
ServerHandlerc C s<