Fork of mbed-http

Fork of mbed-http by sandbox

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;