@@ -103,7 +103,6 @@ bool ESPWebServer::authenticate(const char * username, const char * password) {
103
103
104
104
void ESPWebServer::requestAuthentication (HTTPAuthMethod mode, const char * realm, const String& authFailMsg) {
105
105
if (realm == NULL ) realm = " Login Required" ;
106
- HTTPS_LOGD (" requestAuthentication(%d, %s)\n " , mode, realm);
107
106
if (mode == BASIC_AUTH) {
108
107
std::string authArg = " Basic realm=\" " ;
109
108
authArg += realm;
@@ -215,13 +214,11 @@ String ESPWebServer::arg(String name) {
215
214
buffer[readLength] = 0 ;
216
215
rv += buffer;
217
216
}
218
- HTTPS_LOGD (" arg(\" plain\" ) returns %d bytes" , rv.length ());
219
217
return rv;
220
218
}
221
219
}
222
220
std::string value;
223
221
_activeParams->getQueryParameter (std::string (name.c_str ()), value);
224
- HTTPS_LOGD (" arg(%s) returns %s" , name.c_str (), value.c_str ());
225
222
return String (value.c_str ());
226
223
}
227
224
@@ -249,12 +246,11 @@ int ESPWebServer::args() {
249
246
250
247
bool ESPWebServer::hasArg (String name) {
251
248
bool rv = _activeParams->isQueryParameterSet (std::string (name.c_str ()));
252
- HTTPS_LOGD (" hasArg(%s) returns %d" , name.c_str (), (int )rv);
253
249
return rv;
254
250
}
255
251
256
252
void ESPWebServer::collectHeaders (const char * headerKeys[], const size_t headerKeysCount) {
257
- HTTPS_LOGW (" collectHeaders() not implemented, but probably not needed " );
253
+ HTTPS_LOGE (" collectHeaders() not implemented" );
258
254
}
259
255
260
256
String ESPWebServer::header (String name) {
@@ -367,7 +363,7 @@ void ESPWebServer::setContentLength(const size_t contentLength) {
367
363
368
364
void ESPWebServer::sendHeader (const String& name, const String& value, bool first) {
369
365
if (first) {
370
- HTTPS_LOGW (" sendHeader(..., first=true) not implemented" );
366
+ HTTPS_LOGE (" sendHeader(..., first=true) not implemented" );
371
367
}
372
368
_activeResponse->setHeader (name.c_str (), value.c_str ());
373
369
}
0 commit comments