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
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 34:3556275bebf3, committed 2015-03-08
- Comitter:
- WiredHome
- Date:
- Sun Mar 08 17:50:52 2015 +0000
- Parent:
- 33:d4d1475bafc0
- Child:
- 35:d9e2d1c96b75
- Commit message:
- Disabled debug settings as it has proven to be reliable.
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
data/HTTPFile.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.cpp Sun Feb 01 16:50:39 2015 +0000 +++ b/HTTPClient.cpp Sun Mar 08 17:50:52 2015 +0000 @@ -18,7 +18,7 @@ */ //Debug is disabled by default -#define DEBUG "HTCL" +//#define DEBUG "HTCL" #include <cstdio> #if (defined(DEBUG) && !defined(TARGET_LPC11U24)) #define DBG(x, ...) std::printf("[DBG %s %3d] "x"\r\n", DEBUG, __LINE__, ##__VA_ARGS__);
--- a/data/HTTPFile.cpp Sun Feb 01 16:50:39 2015 +0000 +++ b/data/HTTPFile.cpp Sun Mar 08 17:50:52 2015 +0000 @@ -1,6 +1,6 @@ #include "HTTPFile.h" -#define DEBUG "HTfi" +//#define DEBUG "HTfi" #include <cstdio> #if (defined(DEBUG) && !defined(TARGET_LPC11U24)) #define DBG(x, ...) std::printf("[DBG %s %3d] "x"\r\n", DEBUG, __LINE__, ##__VA_ARGS__);