Fork of SandBox's original mbed-http (https://os.mbed.com/teams/sandbox/code/mbed-http/) and update for MbedOS6+ Content of TESTS folder was replaced with basic examples form original SandBox's HelloWorld
Diff: source/http_response.h
- Revision:
- 8:6156404278bb
- Parent:
- 7:2e3eedb9ca5c
- Child:
- 9:1289162d9530
--- a/source/http_response.h Fri Feb 24 11:20:16 2017 +0100 +++ b/source/http_response.h Thu Mar 02 11:50:38 2017 +0100 @@ -170,6 +170,15 @@ } } + char tolower(char c) { + if(('A' <= c) && (c <= 'Z')) { + printf("toLower %c %c\n", c, 'a' + (c - 'A')); + return 'a' + (c - 'A'); + } + + return c; + } + int status_code; string status_message;