wsd: add mime type image/png
IE11 requires explicit content-type image/png Change-Id: Ie0a886bc9b6af50be788456a93583176788c5315
This commit is contained in:
parent
b0c889f2d2
commit
1a580cc993
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue