Fixed custom headers and Basic authorization, added support for redirection, functional file download interface can be used for SW updates and more.

Dependents:   Sample_HTTPClient Sample_HTTPClient LWM2M_NanoService_Ethernet LWM2M_NanoService_Ethernet ... more

Fork of HTTPClient by Vincent Wochnik

More recent changes - added iCal processing.

Derivative of a derivative, however this one works when it comes to supplying Basic authorization to access a protected resource. Some additional changes to the debug interface to clean it up for consistency with many other components I have.

Revision:
30:1df62fedb13b
Parent:
24:eee214e3e806
Child:
32:7b9919d59194
--- a/HTTPClient.h	Sat Jun 14 14:43:09 2014 +0000
+++ b/HTTPClient.h	Sat Jul 05 22:26:07 2014 +0000
@@ -35,17 +35,17 @@
 
 ///HTTP client results
 enum HTTPResult {
-    HTTP_PROCESSING, ///<Processing
-    HTTP_PARSE, ///<url Parse error
-    HTTP_DNS, ///<Could not resolve name
-    HTTP_PRTCL, ///<Protocol error
-    HTTP_NOTFOUND, ///<HTTP 404 Error
-    HTTP_REFUSED, ///<HTTP 403 Error
-    HTTP_ERROR, ///<HTTP xxx error
-    HTTP_TIMEOUT, ///<Connection timeout
-    HTTP_CONN, ///<Connection error
-    HTTP_CLOSED, ///<Connection was closed by remote host
-    HTTP_OK = 0, ///<Success
+    HTTP_OK = 0,        ///<Success
+    HTTP_PROCESSING,    ///<Processing
+    HTTP_PARSE,         ///<url Parse error
+    HTTP_DNS,           ///<Could not resolve name
+    HTTP_PRTCL,         ///<Protocol error
+    HTTP_NOTFOUND,      ///<HTTP 404 Error
+    HTTP_REFUSED,       ///<HTTP 403 Error
+    HTTP_ERROR,         ///<HTTP xxx error
+    HTTP_TIMEOUT,       ///<Connection timeout
+    HTTP_CONN,          ///<Connection error
+    HTTP_CLOSED,        ///<Connection was closed by remote host
 };
 
 /**A simple HTTP Client