Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/wsgiref/simple_server.py

    r2 r391  
    3838
    3939
    40 
    41 
    4240class WSGIServer(HTTPServer):
    4341
     
    6664    def set_app(self,application):
    6765        self.application = application
    68 
    69 
    70 
    71 
    72 
    73 
    74 
    75 
    76 
    77 
    78 
    79 
    8066
    8167
     
    140126
    141127
    142 
    143 
    144 
    145 
    146 
    147 
    148 
    149 
    150 
    151 
    152 
    153 
    154 
    155 
    156 
    157 
    158 
    159 
    160 
    161 
    162 
    163 
    164 
    165128def demo_app(environ,start_response):
    166129    from StringIO import StringIO
     
    191154    webbrowser.open('http://localhost:8000/xyz?abc')
    192155    httpd.handle_request()  # serve one request, then exit
    193 
    194 
    195 
    196 
    197 
    198 
    199 
    200 
    201 
    202 
    203 
    204 
    205 #
     156    httpd.server_close()
Note: See TracChangeset for help on using the changeset viewer.