wsd: add mime type image/png

IE11 requires explicit content-type image/png

Change-Id: Ie0a886bc9b6af50be788456a93583176788c5315
This commit is contained in:
Henry Castro 2017-04-12 22:11:23 -04:00
parent b0c889f2d2
commit 1a580cc993

View file

@ -168,6 +168,8 @@ void FileServerRequestHandler::handleRequest(const HTTPRequest& request, Poco::M
mimeType = "text/css";
else if (fileType == "html")
mimeType = "text/html";
else if (fileType == "png")
mimeType = "image/png";
else if (fileType == "svg")
mimeType = "image/svg+xml";
else