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.
Dependents: twitterCoffeeMakerFinal iCoffee
Fork of HTTPClientAuthAndPathExtension by
Revision 18:da79dd7e9df2, committed 2014-04-23
- Comitter:
- tlisowski3
- Date:
- Wed Apr 23 18:37:32 2014 +0000
- Parent:
- 17:951bf897ba01
- Commit message:
- HTTP Client with authorization hardcoded in
Changed in this revision
| HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.cpp Fri Oct 12 16:45:46 2012 +0000 +++ b/HTTPClient.cpp Wed Apr 23 18:37:32 2014 +0000 @@ -172,8 +172,8 @@ //Send all headers - //Authorization heaer - snprintf(buf, sizeof(buf), "Authorization: Basic bWJlZGNvbnRyb2xsZXI6U2MxZW5jZSEh\r\n"); + //Authorization header + snprintf(buf, sizeof(buf), "Authorization: Basic dGxpc293c2tpMzptYXJrZXI=\r\n"); ret = send(buf); CHECK_CONN_ERR(ret);
