   message += "Access-Control-Allow-Origin: *\r\n";
   message += "\r\n";
   client.print(message);
-  message = 0;
   client.stop();
 }
 

    SD.mkdir((char *)path.c_str());
  }
  returnOK();
  path = 0;
}

void printDirectory() {

  String path = server.arg("dir");
  if(path != "/" && !SD.exists((char *)path.c_str())) return returnFail("BAD PATH");
  File dir = SD.open((char *)path.c_str());
  path = String();
  if(!dir.isDirectory()){
    dir.close();
    return returnFail("NOT DIR");
