// an http request ends with a blank lineboolean currentLineIsBlank = true; while (client.connected()) { while(client.available()) {char c = client.read();// if you've gotten to the end of the line (received a newline character) and the line is blank, // the http request has ended, so you can send a reply.if (c == '\n' && currentLineIsBlank) {