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.
Diff: HTTPClient.cpp
- Revision:
- 21:14ecc2b2e282
- Parent:
- 20:bec882d85856
- Child:
- 22:4b9a4151cc73
--- a/HTTPClient.cpp Tue Apr 08 13:32:38 2014 +0000 +++ b/HTTPClient.cpp Thu Apr 17 12:23:47 2014 +0000 @@ -528,7 +528,6 @@ } cyassl_free() ; - //ssl = NULL ; m_sock.close(); DBG("Completed HTTP transaction");