| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/wsgiref/__pycache__/ |
Upload File : |
a
] d3 � @ s2 d Z ddlmZmZ ddlZddlZddlmZ ddl m
Z
dZg d�Zde Z
e
� d ej�� d Ze
d
e ZG dd� de�ZG d
d� de�ZG dd� de�Zdd� Zeefdd�Zedk�r.edde��LZej�� Zeded ded d� ddlZe�d� e�� W d � n1 �s$0 Y 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 @ s e Zd ZeZdd� ZdS )�
ServerHandlerc C s>