self.wfile.write(bytes(html, 'utf-8'))
def main():
"""Main loop."""
server = HTTPServer(('localhost', HTTP_PORT), TaskHandler)
self.wfile.write(bytes(html, 'utf-8'))
def main():
"""Main loop."""
server = HTTPServer(('localhost', HTTP_PORT), TaskHandler)