more handlers
Dependents: bandwidth-meter-net mbedRail24v
Fork of Tiny-HTTPD by
Diff: HTTPD_util.cpp
- Revision:
- 2:905fe8dfebd6
- Parent:
- 0:d18dff347122
- Child:
- 3:145c65ab9805
--- a/HTTPD_util.cpp Sat Feb 01 15:46:26 2014 +0000 +++ b/HTTPD_util.cpp Tue Feb 04 03:07:05 2014 +0000 @@ -63,7 +63,7 @@ strcpy(buf, "HTTP/1.1 200 OK\r\n"); _state[id].client->send_all(buf, strlen(buf)); - 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");