mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +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:
parent
ffa9e3c7c2
commit
98785f7cdf
@ -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))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user