Fork of the working HTTPClient adaptation using CyaSSL. This version adds a derivation of HTTPText called HTTPJson to emit JSON text properly. Additionally, the URL parser has defines that permit longer URLs to be utilized.
Dependents: SalesforceInterface df-2014-heroku-thermostat-k64f SalesforceInterface
Fork of HTTPClient by
This is a fork of the working HTTPS/SSL library that contains two extensions:
- HTTPJson - a derivation of HTTPText for emitting JSON strings specifically. No JSON parsing/checking is accomplished - HTTPJson simply sets the right Content-Type for HTTP(S).
- Expanded internal buffers for longer URLs. This is set in HTTPClient.cpp and is tunable.
Revision 15:5ad07f90e895, committed 2012-08-29
- Comitter:
- donatien
- Date:
- Wed Aug 29 11:16:48 2012 +0000
- Parent:
- 14:2744e0c0e527
- Child:
- 16:1f743885e7de
- Commit message:
- Removed useless debug message
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.cpp Tue Aug 28 15:55:32 2012 +0000 +++ b/HTTPClient.cpp Wed Aug 29 11:16:48 2012 +0000 @@ -392,7 +392,7 @@ int n = sscanf(buf, "%x", &readLen); if(n!=1) { - ERR("Could not read chunk length -- crlfpos == %d & got %s", crlfPos, buf); + ERR("Could not read chunk length"); PRTCL_ERR(); }