Patrick Barrett / HTTPClient

Dependencies:   CyaSSL

Dependents:   exosite_http_example exosite_http_example

Fork of HTTPClient by wolf SSL

Revision:
32:7716672463b9
Parent:
31:612864287dd9
--- a/data/HTTPText.cpp	Tue Jan 20 14:13:07 2015 +0000
+++ b/data/HTTPText.cpp	Tue Jan 20 19:40:15 2015 +0000
@@ -55,7 +55,7 @@
 
 /*virtual*/ int HTTPText::getDataType(char* type, size_t maxTypeLen) //Internet media type for Content-Type header
 {
-  strncpy(type, "application/x-www-form-urlencoded; charset=utf-8", maxTypeLen-1);
+  strncpy(type, "text/plain", maxTypeLen-1);
   type[maxTypeLen-1] = '\0';
   return OK;
 }