From 2f0e15bc255bb50ab4499ac52c78c963ddb8cb60 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 19 Jun 2012 02:52:54 +0300 Subject: [PATCH] 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). --- src/webui/httpresponsegenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/httpresponsegenerator.cpp b/src/webui/httpresponsegenerator.cpp index 7f7ac267f..3c89cf5a3 100644 --- a/src/webui/httpresponsegenerator.cpp +++ b/src/webui/httpresponsegenerator.cpp @@ -60,7 +60,7 @@ void HttpResponseGenerator::setContentTypeByExt(const QString& ext) { return; } if (ext == "png") { - setContentType("image/x-png"); + setContentType("image/png"); return; } }