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
parent 571963b1bd
commit 6db7d36e4d

View File

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