@@ -314,15 +314,15 @@ class AsyncWebServerRequest {
314
314
} else
315
315
send (404 );
316
316
}
317
- void send (FS& fs, const String& path, const String& contentType = emptyString , bool download = false , AwsTemplateProcessor callback = nullptr ) { send (fs, path, contentType.c_str (), download, callback); }
317
+ void send (FS& fs, const String& path, const String& contentType, bool download = false , AwsTemplateProcessor callback = nullptr ) { send (fs, path, contentType.c_str (), download, callback); }
318
318
319
319
void send (File content, const String& path, const char * contentType = asyncsrv::empty, bool download = false , AwsTemplateProcessor callback = nullptr ) {
320
320
if (content) {
321
321
send (beginResponse (content, path, contentType, download, callback));
322
322
} else
323
323
send (404 );
324
324
}
325
- void send (File content, const String& path, const String& contentType = emptyString , bool download = false , AwsTemplateProcessor callback = nullptr ) { send (content, path, contentType.c_str (), download, callback); }
325
+ void send (File content, const String& path, const String& contentType, bool download = false , AwsTemplateProcessor callback = nullptr ) { send (content, path, contentType.c_str (), download, callback); }
326
326
327
327
void send (Stream& stream, const char * contentType, size_t len, AwsTemplateProcessor callback = nullptr ) { send (beginResponse (stream, contentType, len, callback)); }
328
328
void send (Stream& stream, const String& contentType, size_t len, AwsTemplateProcessor callback = nullptr ) { send (beginResponse (stream, contentType, len, callback)); }
0 commit comments