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.

Dependencies:   mbedTLSLibrary

Dependents:   SalesforceInterface df-2014-heroku-thermostat-k64f SalesforceInterface

Fork of HTTPClient by wolf SSL

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:
20:bec882d85856
Parent:
19:1e2f05809eb1
Child:
21:14ecc2b2e282
--- a/HTTPClient.cpp	Tue Apr 08 09:09:54 2014 +0000
+++ b/HTTPClient.cpp	Tue Apr 08 13:32:38 2014 +0000
@@ -527,8 +527,8 @@
         }
 
     }
-    CyaSSL_free(ssl) ;
-    ssl = NULL ;
+    cyassl_free() ;
+    //ssl = NULL ;
     m_sock.close();
     DBG("Completed HTTP transaction");