 
     // Is request complete?
     requestComplete = (currentLineIsEmpty && c == '\n');
-    
+
     if (c == '\n') {
       currentLineIsEmpty = true;
     } else if (c != '\r') {

  processClient(client);
}

void processClient(WiFiClient client)
{
  long requestIndex = 0;
  long requestComplete = false;
  boolean currentLineIsEmpty = true;

}

void operateDoor(int output, int cycles) {
  verbosePrint("Entered operateDoor()");

  for (int i = 0; i < cycles; i++) {
    if (i != 0) {
      delay(DOOR_OUTPUT_PULSE_DELAY_TIME);
