AlkantarClanX12
Current Path : /opt/alt/python33/lib64/python3.3/wsgiref/__pycache__/ |
Current File : //opt/alt/python33/lib64/python3.3/wsgiref/__pycache__/simple_server.cpython-33.pyo |
� ��f! c @ s� d Z d d l m Z m Z d d l Z d d l Z d d l m Z d d l m Z d Z d d d d g Z d e Z e � d e j j � d Z e d e Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d d � Z e e d d � Z e d k r}e d d e � Z e j j � Z e d e d d e d d � d d l Z e j d � e j � e j � n d S( u! 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. i ( u BaseHTTPRequestHandleru HTTPServerN( u SimpleHandler( u python_implementationu 0.2u WSGIServeru WSGIRequestHandleru demo_appu make_serveru WSGIServer/u /u c B s&