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:
28:c0c7a6321f84
Parent:
26:58b6fe9f596b
Child:
29:9ee96efc1c20
--- a/HTTPClient.cpp	Sat Apr 26 17:24:07 2014 +0000
+++ b/HTTPClient.cpp	Sat May 17 19:54:21 2014 +0000
@@ -18,7 +18,7 @@
  */
 
 //Debug is disabled by default
-#define DEBUG "HTCL"
+//#define DEBUG "HTCL"
 #include <cstdio>
 #if (defined(DEBUG) && !defined(TARGET_LPC11U24))
 #define DBG(x, ...)  std::printf("[DBG %s %3d] "x"\r\n", DEBUG, __LINE__, ##__VA_ARGS__);