#include "HTTPParser.h" #include "StringFormatter.h" void HTTPParser::parse(Print & stream, char * cmd) { // BEWARE - As soon as you start responding, the cmd buffer is trashed! // You must get everything you need from it before using StringFormatter::send! StringFormatter::send(stream,F("HTTP/1.1 200 OK\nContent-Type: text/html\nConnnection: close\n\n")); StringFormatter::send(stream,F("This is not a web server.
")); }