Minor changes to the HttpClient class

This commit is contained in:
Th3maz1ng 2025-10-28 19:23:07 +01:00
parent 7de29c46a7
commit b7b2d76232

View File

@ -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)