Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HTTPClient by
Revision 22:d4389480e952, committed 2015-03-12
- Comitter:
- komoritan
- Date:
- Thu Mar 12 12:44:17 2015 +0000
- Parent:
- 21:199217e7fa41
- Commit message:
- bug fix - Receive response
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.cpp Tue Feb 10 12:21:03 2015 +0000 +++ b/HTTPClient.cpp Thu Mar 12 12:44:17 2015 +0000 @@ -18,7 +18,7 @@ */ //Debug is disabled by default -#if 0 +#if 1 //Enable debug #include <cstdio> #define DBG(x, ...) std::printf("[HTTPClient : DBG]"x"\r\n", ##__VA_ARGS__); @@ -310,7 +310,7 @@ ret = send(data, strlen(data)); CHECK_CONN_ERR(ret); - /* +#if 1 //Receive response printf("\n Receiving response"); @@ -610,7 +610,7 @@ } } - */ +#endif m_sock.close(); DBG("Completed HTTP transaction");