server.readline ret then log("Read line: #{ret}") # Do more stuff then send the final response: "Done!" end