code: def send_message(client, message):
      
      print(message)
      client.send("HTTP/1.1 200 OK\r\n\r\n{}".format(message).encode("utf-8"))
      client.close()
docs: Send message to client and close the connection.