Update response message in RequestHandler class

This commit is contained in:
DerTyp7
2023-11-24 14:56:27 +01:00
parent 4c4456daad
commit 4160b51e22
2 changed files with 20 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ class RequestHandler(threading.Thread):
print('starting docker container {}'.format(container_ip))
self.docker_handler.get_container_by_ip(container_ip).start()
# Send a response
self.connection.sendall(b'Request handled')
self.connection.sendall("Server starting...".encode('utf-8'))
else:
print('no docker container mapped to this port')