For PETEY

Dependencies:   mbed EthernetNetIf

Revision:
1:9f15e579d914
Parent:
0:f2bf5f966801
Child:
2:764ecec3dc59
diff -r f2bf5f966801 -r 9f15e579d914 TinyHTTP.cpp
--- a/TinyHTTP.cpp	Wed Jul 27 16:08:54 2011 +0000
+++ b/TinyHTTP.cpp	Wed Jul 27 16:19:14 2011 +0000
@@ -155,6 +155,7 @@
     http->send(" HTTP/1.1\r\nHost: ", 17);
     http->send(host->getName(), strlen(host->getName()));
     http->send("\r\n", 2);
+    http->send("Connection: close\r\n", 19);
     if (head) {
         http->send(head, strlen(head));
     }