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 49:a564fc323921, committed 2015-06-05
- Comitter:
- sarahmarshy
- Date:
- Fri Jun 05 22:10:21 2015 +0000
- Parent:
- 48:db30340571c9
- Child:
- 50:a18a06b000f3
- Commit message:
- Rev
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.cpp Fri Jun 05 21:48:15 2015 +0000 +++ b/HTTPClient.cpp Fri Jun 05 22:10:21 2015 +0000 @@ -56,7 +56,7 @@ static TCPSocketConnection m_sock; -// ************ should be a better way to adjust for platform limitations +// ************ should be a better way to adjust for platform limitations #if defined (TARGET_K64F) // can use larger buffers since we have (lots) more memory