Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CyaSSL
Dependents: MTS-Socket MTS-Socket
Diff: data/HTTPText.cpp
- Revision:
- 29:2d96cc752d19
- Parent:
- 28:6fbaf49cc109
diff -r 6fbaf49cc109 -r 2d96cc752d19 data/HTTPText.cpp
--- a/data/HTTPText.cpp Wed Aug 27 18:10:09 2014 +0000
+++ b/data/HTTPText.cpp Wed Aug 27 20:30:29 2014 +0000
@@ -55,7 +55,7 @@
/*virtual*/ int HTTPText::getDataType(char* type, size_t maxTypeLen) //Internet media type for Content-Type header
{
- strncpy(type, "application/json", maxTypeLen-1);
+ strncpy(type, "plain/text", maxTypeLen-1);
type[maxTypeLen-1] = '\0';
return OK;
}