| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/wsgiref/ |
Upload File : |
� ۜSec @ sY d Z d d l m Z m Z d d l Z d d l Z d d l m Z d Z d d d d g Z d e Z d e j j � d Z e d e Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d � Z e e d � Z e d k rUe d d e � Z e j j � Z d Ge d Gd Ge d Gd GHd d l Z e j d � e j � n d S( s* BaseHTTPServer that implements the Python WSGI protocol (PEP 333, rev 1.21) 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. i����( t BaseHTTPRequestHandlert HTTPServerN( t SimpleHandlers 0.1t WSGIServert WSGIRequestHandlert demo_appt make_servers WSGIServer/s Python/i t t ServerHandlerc B s e Z e Z d � Z RS( c C sB z- | j j | j j d d � d | j � Wd t j | � Xd S( NR i i ( t request_handlert log_requestt statust splitt bytes_sentR t close( t self( ( s- /usr/lib64/python2.7/wsgiref/simple_server.pyR s $( t __name__t __module__t software_versiont server_softwareR ( ( ( s- /usr/lib64/python2.7/wsgiref/simple_server.pyR s c B s8 e Z d Z d Z d � Z d � Z d � Z d � Z RS( s7 BaseHTTPServer that implements the Python WSGI protocolc C s t j | � | j � d S( s. Override server_bind to store the server name.N( R t server_bindt setup_environ( R ( ( s- /usr/lib64/python2.7/wsgiref/simple_server.pyR . s c C sY i } | _ | j | d <d | d <t | j � | d <d | d <d | d <d | d <d S( Nt SERVER_NAMEs CGI/1.1t GATEWAY_INTERFACEt SERVER_PORTt t REMOTE_HOSTt CONTENT_LENGTHt SCRIPT_NAME( t base_environt server_namet strt server_port( R t env( ( s- /usr/lib64/python2.7/wsgiref/simple_server.pyR 3 s c C s | j S( N( t application( R ( ( s- /usr/lib64/python2.7/wsgiref/simple_server.pyt get_app= s c C s | | _ d S( N( R"