Minor changes to the HttpClient class
This commit is contained in:
parent
7de29c46a7
commit
b7b2d76232
@ -109,7 +109,7 @@ int HttpClient::sendHttpQuery(HttpRequestMethod method, Dictionary<DictionaryHel
|
||||
|
||||
#ifdef DEBUG_HTTP_CLIENT
|
||||
if(_keepAlive)
|
||||
Serial.printf("Link status : %d\n", status());
|
||||
Serial.printf("Link status : %u\n", status());
|
||||
#endif
|
||||
|
||||
//If we did not want to keep the connection alive and it is still open, then we first close it.
|
||||
@ -147,7 +147,7 @@ int HttpClient::sendHttpQuery(HttpRequestMethod method, Dictionary<DictionaryHel
|
||||
if(connected())
|
||||
{
|
||||
#ifdef DEBUG_HTTP_CLIENT
|
||||
Serial.printf("Server is listening\n");
|
||||
Serial.printf("Server is listening, socket status : %u\n", status());
|
||||
#endif
|
||||
|
||||
switch(method)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user