Change MIME type for PNG images to image/png

This is the official MIME type assigned by the IANA (see http://www.iana.org/assignments/media-types/image/png).
This commit is contained in:
Tillmann Karras 2012-06-19 02:52:54 +03:00
parent 3197d5cc2f
commit 2f0e15bc25

View File

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