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
|
#ifdef DEBUG_HTTP_CLIENT
|
||||||
if(_keepAlive)
|
if(_keepAlive)
|
||||||
Serial.printf("Link status : %d\n", status());
|
Serial.printf("Link status : %u\n", status());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//If we did not want to keep the connection alive and it is still open, then we first close it.
|
//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())
|
if(connected())
|
||||||
{
|
{
|
||||||
#ifdef DEBUG_HTTP_CLIENT
|
#ifdef DEBUG_HTTP_CLIENT
|
||||||
Serial.printf("Server is listening\n");
|
Serial.printf("Server is listening, socket status : %u\n", status());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
switch(method)
|
switch(method)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user