uawdijnntqw1x1x1
IP : 3.137.170.38
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
..
/
..
/
lib64
/
fipscheck
/
.
/
..
/
bind
/
..
/
python2.7
/
wsgiref
/
simple_server.pyc
/
/
� {fc@scdZddlmZmZddlZddlZddlmZdZdddd gZ d eZ dejj�dZ e d e Zdefd��YZdefd��YZdefd��YZd�Zeed�Zedkr_edde�Zejj�ZdGedGdGedGdGHddlZejd�ej�ej�ndS(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����(tBaseHTTPRequestHandlert HTTPServerN(t SimpleHandlers0.1t WSGIServertWSGIRequestHandlertdemo_apptmake_serversWSGIServer/sPython/it t ServerHandlercBseZeZd�ZRS(cCsBz-|jj|jjdd�d|j�Wdtj|�XdS(NRii(trequest_handlertlog_requesttstatustsplitt bytes_sentRtclose(tself((s-/usr/lib64/python2.7/wsgiref/simple_server.pyRs $(t__name__t __module__tsoftware_versiontserver_softwareR(((s-/usr/lib64/python2.7/wsgiref/simple_server.pyRscBs8eZdZdZd�Zd�Zd�Zd�ZRS(s7BaseHTTPServer that implements the Python WSGI protocolcCstj|�|j�dS(s.Override server_bind to store the server name.N(Rtserver_bindt setup_environ(R((s-/usr/lib64/python2.7/wsgiref/simple_server.pyR.s cCsYi}|_|j|d<d|d<t|j�|d<d|d<d|d<d|d<dS( NtSERVER_NAMEsCGI/1.1tGATEWAY_INTERFACEtSERVER_PORTttREMOTE_HOSTtCONTENT_LENGTHtSCRIPT_NAME(tbase_environtserver_nametstrtserver_port(Rtenv((s-/usr/lib64/python2.7/wsgiref/simple_server.pyR3s cCs|jS(N(tapplication(R((s-/usr/lib64/python2.7/wsgiref/simple_server.pytget_app=scCs ||_dS(N(R"(RR"((s-/usr/lib64/python2.7/wsgiref/simple_server.pytset_app@sN( RRt__doc__tNoneR"RRR#R$(((s-/usr/lib64/python2.7/wsgiref/simple_server.pyR(s cBs-eZdeZd�Zd�Zd�ZRS(sWSGIServer/c Cs�|jjj�}|j|d<|j|d<d|jkrY|jjdd�\}}n|jd}}tj|�|d<||d<|j �}||j dkr�||d <n|j d|d <|jjdkr�|jj|d<n|jj|d<|jjd�}|r||d <nx�|jjD]�}|jdd�\}}|jdd�j�}|j�}||kr~q*nd||kr�|d|cd|7<q*||d|<q*W|S(NtSERVER_PROTOCOLtREQUEST_METHODt?iRt PATH_INFOtQUERY_STRINGiRtREMOTE_ADDRtCONTENT_TYPEscontent-lengthRt:t-t_tHTTP_t,(tserverRtcopytrequest_versiontcommandtpathRturllibtunquotetaddress_stringtclient_addresstheaderst typeheaderR&ttypet getheadertreplacetuppertstrip( RR!R7tquerythosttlengththtktv((s-/usr/lib64/python2.7/wsgiref/simple_server.pytget_environIs8 cCstjS(N(tsyststderr(R((s-/usr/lib64/python2.7/wsgiref/simple_server.pyt get_stderrnscCs�|jjd�|_t|j�dkrVd|_d|_d|_|jd�dS|j�sfdSt |j|j |j�|j��}||_ |j|jj��dS(sHandle a single HTTP requestiiRi�N(trfiletreadlinetraw_requestlinetlentrequestlineR5R6t send_errort parse_requestRtwfileRLRIR trunR3R#(Rthandler((s-/usr/lib64/python2.7/wsgiref/simple_server.pythandleqs $ (RRt__version__tserver_versionRIRLRW(((s-/usr/lib64/python2.7/wsgiref/simple_server.pyREs % cCs�ddlm}|�}|dIJ|J|j�}|j�x0|D](\}}||IdIt|�IJqDW|ddg�|j�gS( Ni����(tStringIOsHello world!t=s200 OKsContent-Types text/plain(sContent-Types text/plain(RZtitemstsorttreprtgetvalue(tenvirontstart_responseRZtstdoutRFRGRH((s-/usr/lib64/python2.7/wsgiref/simple_server.pyR�s cCs&|||f|�}|j|�|S(sACreate a new WSGI server listening on `host` and `port` for `app`(R$(RDtporttapptserver_classt handler_classR3((s-/usr/lib64/python2.7/wsgiref/simple_server.pyR�s t__main__Ri@sServing HTTP onRcis...shttp://localhost:8000/xyz?abc(R%tBaseHTTPServerRRR8RJtwsgiref.handlersRRXt__all__RYtversionRtsys_versionRRRRRRRthttpdtsockettgetsocknametsat webbrowsertopenthandle_requesttserver_close(((s-/usr/lib64/python2.7/wsgiref/simple_server.pyt<module>s* B
/home/jackpotjunglegam/../../lib64/fipscheck/./../bind/../python2.7/wsgiref/simple_server.pyc