Skip to content

Commit 09f8284

Browse files
committed
Merge pull request #1600 from shmuelzon/manifest-content-type
Added 'text/cache-manifest' content type
2 parents f77d996 + 728e2df commit 09f8284

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ class StaticRequestHandler : public RequestHandler {
127127
else if (path.endsWith(".pdf")) return "application/pdf";
128128
else if (path.endsWith(".zip")) return "application/zip";
129129
else if(path.endsWith(".gz")) return "application/x-gzip";
130+
else if (path.endsWith(".appcache")) return "text/cache-manifest";
130131
return "application/octet-stream";
131132
}
132133

0 commit comments

Comments
 (0)