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.

Files at this revision

API Documentation at this revision

Comitter:
stevep
Date:
Fri Jan 18 17:15:39 2013 +0000
Parent:
16:1f743885e7de
Child:
18:cf5d7427a9ec
Commit message:
Enable basicauth

Changed in this revision

HTTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
HTTPClient.h Show annotated file Show diff for this revision Revisions of this file
--- a/HTTPClient.cpp	Thu Aug 30 15:38:57 2012 +0000
+++ b/HTTPClient.cpp	Fri Jan 18 17:15:39 2013 +0000
@@ -57,7 +57,7 @@
 
 }
 
-#if 0
+#if 1
 void HTTPClient::basicAuth(const char* user, const char* password) //Basic Authentification
 {
   m_basicAuthUser = user;
--- a/HTTPClient.h	Thu Aug 30 15:38:57 2012 +0000
+++ b/HTTPClient.h	Fri Jan 18 17:15:39 2013 +0000
@@ -61,7 +61,7 @@
   HTTPClient();
   ~HTTPClient();
   
-#if 0 //TODO add header handlers
+#if 1 //TODO add header handlers
   /**
   Provides a basic authentification feature (Base64 encoded username and password)
   Pass two NULL pointers to switch back to no authentication