1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-21 21:22:31 +03:00

Merge pull request #1600 from shmuelzon/manifest-content-type

Added 'text/cache-manifest' content type
This commit is contained in:
Ivan Grokhotkov
2016-02-10 19:19:31 +03:00

View File

@ -127,6 +127,7 @@ public:
else if (path.endsWith(".pdf")) return "application/pdf";
else if (path.endsWith(".zip")) return "application/zip";
else if(path.endsWith(".gz")) return "application/x-gzip";
else if (path.endsWith(".appcache")) return "text/cache-manifest";
return "application/octet-stream";
}