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:
13:be61104f4e91
Parent:
10:e1351de84c16
Child:
16:1f743885e7de
--- a/data/HTTPMap.cpp	Sun Aug 05 15:30:07 2012 +0000
+++ b/data/HTTPMap.cpp	Sun Aug 05 16:12:10 2012 +0000
@@ -17,14 +17,16 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include "core/fwk.h"
-
 #include "HTTPMap.h"
 
 #include <cstring>
 
 #include <cctype>
 
+#define OK 0
+
+using std::strncpy;
+
 HTTPMap::HTTPMap() : m_pos(0), m_count(0)
 {