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 44:dcb89acaac3e, committed 2014-09-19
- Comitter:
- ansond
- Date:
- Fri Sep 19 18:05:37 2014 +0000
- Parent:
- 43:f4fbcfca7b7e
- Child:
- 45:abd90d8a363f
- Commit message:
- another NXP buffer size tweak
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.cpp Fri Sep 19 17:39:40 2014 +0000 +++ b/HTTPClient.cpp Fri Sep 19 18:05:37 2014 +0000 @@ -73,7 +73,7 @@ #else // default smaller buffers #define CHUNK_SIZE 256 - #define SEND_BUF_SIZE 1280 + #define SEND_BUF_SIZE 1100 #endif // ************ should be a better way to adjust for platform limitations