![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
h
Dependencies: mbed EthernetNetIf
Diff: TinyHTTP.cpp
- Revision:
- 1:9f15e579d914
- Parent:
- 0:f2bf5f966801
- Child:
- 2:764ecec3dc59
--- 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)); }