fix the problem http request with '\0' and fixx query string in url

Fork of mbed-http by sandbox

Revision:
7:2e3eedb9ca5c
Parent:
6:112d72c60e07
Child:
10:ec9b75c349aa
--- a/source/https_request.h	Thu Feb 23 14:11:47 2017 +0100
+++ b/source/https_request.h	Fri Feb 24 11:20:16 2017 +0100
@@ -257,7 +257,7 @@
                 return NULL;
             }
 
-            if (_response->is_body_complete()) {
+            if (_response->is_message_complete()) {
                 break;
             }
         }