Just testing things, based off of http-example-wnc

Dependencies:   easy-connect mbed-http

Fork of http-example-wnc by Avnet

Revision:
7:5d32909f77de
Parent:
5:42f713b19337
Child:
10:e79a808ebbe8
--- a/source/main-https.cpp	Thu Feb 23 14:13:01 2017 +0100
+++ b/source/main-https.cpp	Fri Feb 24 11:21:24 2017 +0100
@@ -65,7 +65,7 @@
 
     mbedtls_printf("Headers:\n");
     for (size_t ix = 0; ix < res->get_headers_length(); ix++) {
-        mbedtls_printf("\t%s: %s\n", res->get_headers_fields()[ix].c_str(), res->get_headers_values()[ix].c_str());
+        mbedtls_printf("\t%s: %s\n", res->get_headers_fields()[ix]->c_str(), res->get_headers_values()[ix]->c_str());
     }
     mbedtls_printf("\nBody (%d bytes):\n\n%s\n", res->get_body_length(), res->get_body_as_string().c_str());
 }