mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
Apparently I messed up testing #6715 and something broke. This rolls back that PR. That means #2132 remains closed with no action.
This commit is contained in:
@ -533,7 +533,7 @@ template <typename ServerType>
|
||||
void ESP8266WebServerTemplate<ServerType>::_streamFileCore(const size_t fileSize, const String &fileName, const String &contentType)
|
||||
{
|
||||
using namespace mime;
|
||||
(void)fileSize;
|
||||
setContentLength(fileSize);
|
||||
if (fileName.endsWith(String(FPSTR(mimeTable[gz].endsWith))) &&
|
||||
contentType != String(FPSTR(mimeTable[gz].mimeType)) &&
|
||||
contentType != String(FPSTR(mimeTable[none].mimeType))) {
|
||||
|
Reference in New Issue
Block a user