Tiny HTTP Client http://mbed.org/users/okini3939/notebook/tinyhttp
Dependencies: EthernetNetIf mbed
Revision 1:9f15e579d914, committed 2011-07-27
- Comitter:
- okini3939
- Date:
- Wed Jul 27 16:19:14 2011 +0000
- Parent:
- 0:f2bf5f966801
- Child:
- 2:764ecec3dc59
- Commit message:
Changed in this revision
TinyHTTP.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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)); }