mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Added 'text/cache-manifest' content type
This commit is contained in:
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user