reverted HTTPCLient debug back to defaulted off
Fork of HTTPClient-SSL by
Revision 28:6fbaf49cc109, committed 2014-08-27
- Comitter:
- ansond
- Date:
- Wed Aug 27 18:10:09 2014 +0000
- Parent:
- 27:5d4739eae63e
- Child:
- 29:2d96cc752d19
- Commit message:
- updated buffer sizes to parse larger URLs
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
data/HTTPText.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 ;
--- a/data/HTTPText.cpp Mon Jul 21 11:29:00 2014 +0000 +++ b/data/HTTPText.cpp Wed Aug 27 18:10:09 2014 +0000 @@ -55,7 +55,7 @@ /*virtual*/ int HTTPText::getDataType(char* type, size_t maxTypeLen) //Internet media type for Content-Type header { - strncpy(type, "text/plain", maxTypeLen-1); + strncpy(type, "application/json", maxTypeLen-1); type[maxTypeLen-1] = '\0'; return OK; }