Change MIME type for PNG images to image/png

This commit is contained in:
Tillmann Karras 2012-06-19 02:52:54 +03:00 committed by Christophe Dumez
commit 6db7d36e4d

View file

@ -58,8 +58,8 @@ void HttpResponseGenerator::setContentTypeByExt(const QString& ext) {
setContentType("text/javascript");
return;
}
if(ext == "png") {
setContentType("image/x-png");
if (ext == "png") {
setContentType("image/png");
return;
}
}