Fork with basicauth enabled.

Dependents:   TweetRFID

Fork of HTTPClient by Donatien Garnier

Files at this revision

API Documentation at this revision

Comitter:
stevep
Date:
Fri Jan 18 17:15:39 2013 +0000
Parent:
16:1f743885e7de
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
diff -r 1f743885e7de -r 8299c6440e37 HTTPClient.cpp
--- 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;
diff -r 1f743885e7de -r 8299c6440e37 HTTPClient.h
--- 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