for Low Memory Platforms.

Dependents:   TinyHTTPServer_WIZ820io

Fork of HTTPD by Suga koubou

Revision:
2:905fe8dfebd6
Parent:
0:d18dff347122
--- a/HTTPD_req.cpp	Sat Feb 01 15:46:26 2014 +0000
+++ b/HTTPD_req.cpp	Tue Feb 04 03:07:05 2014 +0000
@@ -46,7 +46,7 @@
             fseek(fp, i, SEEK_SET);
         }
 
-        strcpy(buf, "Server: GSwifi httpd\r\n");
+        strcpy(buf, server_name);
         _state[id].client->send_all(buf, strlen(buf));
         if (_state[id].keepalive) {
             strcpy(buf, "Connection: Keep-Alive\r\n");