mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Added 'text/cache-manifest' content type
This commit is contained in:
parent
04c66091af
commit
728e2dfae9
@ -127,6 +127,7 @@ public:
|
|||||||
else if (path.endsWith(".pdf")) return "application/pdf";
|
else if (path.endsWith(".pdf")) return "application/pdf";
|
||||||
else if (path.endsWith(".zip")) return "application/zip";
|
else if (path.endsWith(".zip")) return "application/zip";
|
||||||
else if(path.endsWith(".gz")) return "application/x-gzip";
|
else if(path.endsWith(".gz")) return "application/x-gzip";
|
||||||
|
else if (path.endsWith(".appcache")) return "text/cache-manifest";
|
||||||
return "application/octet-stream";
|
return "application/octet-stream";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user