Changeset 391 for python/trunk/Lib/wsgiref/simple_server.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/wsgiref/simple_server.py
r2 r391 38 38 39 39 40 41 42 40 class WSGIServer(HTTPServer): 43 41 … … 66 64 def set_app(self,application): 67 65 self.application = application 68 69 70 71 72 73 74 75 76 77 78 79 80 66 81 67 … … 140 126 141 127 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 128 def demo_app(environ,start_response): 166 129 from StringIO import StringIO … … 191 154 webbrowser.open('http://localhost:8000/xyz?abc') 192 155 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.