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:
28:6fbaf49cc109
Parent:
27:5d4739eae63e
Child:
29:2d96cc752d19
--- a/HTTPClient.cpp	Mon Jul 21 11:29:00 2014 +0000
+++ b/HTTPClient.cpp	Wed Aug 27 18:10:09 2014 +0000
@@ -231,8 +231,8 @@
     }
 
     char scheme[8];
-    char host[32];
-    char path[80];
+    char host[128];
+    char path[128];
 
     int ret ;