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.
Dependents: HTTPSClientExample
Revision 1:95f92eed4e09, committed 2013-09-05
- Comitter:
- feb11
- Date:
- Thu Sep 05 10:33:20 2013 +0000
- Parent:
- 0:ab9011f6ede5
- Child:
- 2:6d7bc51cc77b
- Commit message:
- remove printf
Changed in this revision
| HTTPSClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPSClient.cpp Wed Sep 04 13:24:29 2013 +0000
+++ b/HTTPSClient.cpp Thu Sep 05 10:33:20 2013 +0000
@@ -39,6 +39,8 @@
{
if(!line.compare(0,strlen("Content-Length"), "Content-Length"))
sscanf(line.c_str(), "Content-Length: %d", &hdr._bodyLength);
+ else if(!line.compare(0,strlen("content-length"), "content-length"))
+ sscanf(line.c_str(), "content-length: %d", &hdr._bodyLength);
line = readLine();
}while(line.size());
return hdr;