A HTTP Client for the mbed networking libraries with HTTPFile for use with latest networking stack

Fork of HTTPClient by Donatien Garnier

An extension of the HTTPClient that adds HTTPFile. Currently on get is support and only works when getting binary files.

HTTPFile data("/local/firm.bin");
HTTPResult r = client.get("https://217.140.101.20/media/uploads/ollie8/firm.bin", &data);
if (r == HTTP_OK) {
                            
}
Revision:
15:5ad07f90e895
Parent:
14:2744e0c0e527
Child:
16:1f743885e7de
--- a/HTTPClient.cpp	Tue Aug 28 15:55:32 2012 +0000
+++ b/HTTPClient.cpp	Wed Aug 29 11:16:48 2012 +0000
@@ -392,7 +392,7 @@
       int n = sscanf(buf, "%x", &readLen);
       if(n!=1)
       {
-        ERR("Could not read chunk length -- crlfpos == %d & got %s", crlfPos, buf);
+        ERR("Could not read chunk length");
         PRTCL_ERR();
       }