Handle one request at a time until stopped.
(self)
| 74 | """http server that reacts to self.stop flag""" |
| 75 | |
| 76 | def serve_forever(self): |
| 77 | """Handle one request at a time until stopped.""" |
| 78 | self.stop = False |
| 79 | while not self.stop: |
| 80 | self.handle_request() |
| 81 | |
| 82 | # stop the http server |
| 83 | def stop_server(web_port): |
no outgoing calls
no test coverage detected