Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HTTPClient by
Revision 17:8299c6440e37, committed 2013-01-18
- 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 |
--- 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
