def serve_forever(self, poll_interval=<NUM_LIT:0.5>):
logger.info('<STR_LIT>'.format(<EOL>self.server_name, self.server_port)<EOL>)<EOL>while True:<EOL><INDENT>try:<EOL><INDENT>self.poll_once(poll_interval)<EOL><DEDENT>except (KeyboardInterrupt, SystemExit):<EOL><INDENT>break<EOL><DEDENT><DEDENT>self.handle_close()<EOL>logger.info('<STR_LIT>')<EOL>
Start serving HTTP requests

This method blocks the current thread.

:param poll_interval: polling timeout
:return: